It's been like this for years now, I had hoped over time it may be corrected, but I think it gets over looked in favour of other, perhaps more important fixes/requests, etc.
I have the Code Folding column always shown. It shows the plus and minus boxes with lines that connect the current code contained within any given section to the name of that section, all good. But the issue is that it always misses the last line and often misses an entire Section. I have no idea why it always misses the last line of every section, but I have figured out why it misses the whole Section at the end of any given group of Sections.
I am mostly using CT for coding Rainmeter skins. Since the beginning, I have always found it useful to use this as a divider to make section groups easier to locate when scrolling through a file quickly:
Code: Select all
========================================
; SECTION GROUP TITLE
========================================
Code: Select all
[Variables]
Alpha=30
Aqua=0,255,255
AquaDark=#Aqua#,150
etc...
========================================
; STYLES
========================================
[sGlobalText]
FontFace=Trebuchet MS
StringAlign=CenterCenter
StringStyle=Bold
FontSize=9
FontColor=#White#
AntiAlias=1
ClipString=2
DynamicVariables=1
Group=VLC
[sHighlight]
MouseOverAction=[!SetOption #CURRENTSECTION# FontColor "#Green#"][!UpdateMeter #CURRENTSECTION#][!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# FontColor ""][!UpdateMeter #CURRENTSECTION#][!Redraw]
========================================
; PROCESSES
========================================
[mProcess]
Measure=Calc
Formula=1
DynamicVariables=1
; Enable Disable System/Drives Bar:
IfCondition=(mProcess2=1) || (mProcess3=1) || (mProcess4=1)
IfTrueAction=[!DeactivateConfig "Barred\SystemBar" "SystemBar2-0.ini"][!DeactivateConfig "Barred\DisksBar" "DrivesBar1.ini"][!Redraw]
IfFalseAction=[!ActivateConfig "Barred\SystemBar" "SystemBar2-0.ini"][!ActivateConfig "Barred\DisksBar" "DrivesBar1.ini"][!Redraw]
; Foobar:
IfCondition3=mProcess1=1
IfTrueAction3=[!EnableMeasureGroup Foobar][!ShowMeterGroup Foobar][!UpdateMeterGroup Foobar][!Redraw]
IfFalseAction3=[!DisableMeasureGroup Foobar][!HideMeterGroup Foobar][!UpdateMeterGroup Foobar][!Redraw]
[mProcess1]
Measure=Process
ProcessName=foobar2000.exe
[mProcess2]
Measure=Process
ProcessName=PotPlayerMini64.exe
[mProcess3]
Measure=Process
ProcessName=VLC.exe
[mProcess4]
etc...
The trouble is that using this method causes the Section placed before it to have no Code Folding.
So here, there are two requests:
1. Please could you fix the first issue where the last line of a section is not included in the Code Folding.
2. Is there anything you could do about the second issue where using my method of labelling is affecting Code Folding incorrectly? I would suggest allowing a line that starts with the 'equals' symbol to be used without affecting other things.
Here are some screenshots to show what I mean: Anything you could do would be appreciated, thanks Alexey.