From 18741c77ad7f854fcc68298facce771a0b532961 Mon Sep 17 00:00:00 2001 From: Marko Njezic Date: Sat, 2 Jul 2011 13:41:25 +0200 Subject: 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. --- src/LineMarker.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/LineMarker.h') 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; -- cgit v1.2.3