aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/LineMarker.h
diff options
context:
space:
mode:
authorMarko Njezic <unknown>2011-07-02 13:41:25 +0200
committerMarko Njezic <unknown>2011-07-02 13:41:25 +0200
commit18741c77ad7f854fcc68298facce771a0b532961 (patch)
tree721f6ab3a9f1c94a933d924ee04e1b58a852d0b7 /src/LineMarker.h
parent249e4b2301352ffd7f7dda90d2323b8d3c950e7d (diff)
downloadscintilla-mirror-18741c77ad7f854fcc68298facce771a0b532961.tar.gz
Folding related fixes. Initiated by bug #3323805.
Make fold highlighting follow closely the actual folding implementation. Introduce a concept of fold headers with a tail to accommodate certain fold highlighting situations. Optimize PaintSelMargin(), so it doesn't waste time with fold markers, unless really necessary. Make EnsureLineVisible() find right parent, when called on whitespace line. Fix wrong fold tail marker when needWhiteClosure is true.
Diffstat (limited to 'src/LineMarker.h')
-rw-r--r--src/LineMarker.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LineMarker.h b/src/LineMarker.h
index 722c44b62..6477a1ffe 100644
--- a/src/LineMarker.h
+++ b/src/LineMarker.h
@@ -17,7 +17,7 @@ namespace Scintilla {
*/
class LineMarker {
public:
- enum typeOfFold { undefined, head, body, tail };
+ enum typeOfFold { undefined, head, body, tail, headWithTail };
int markType;
ColourPair fore;