aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/LineMarker.h
diff options
context:
space:
mode:
authorMarko Njezic <devnull@localhost>2011-07-02 13:41:25 +0200
committerMarko Njezic <devnull@localhost>2011-07-02 13:41:25 +0200
commitf650e7fd9d5596e6c165e02ca5defdb4afc90131 (patch)
tree7c7d85628f2e6f4bf4d57df30f28e5534ca9d1cc /src/LineMarker.h
parent5b3778ece55a12878d505bc4c5bf687206cc2713 (diff)
downloadscintilla-mirror-f650e7fd9d5596e6c165e02ca5defdb4afc90131.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;