diff options
author | Neil <nyamatongwe@gmail.com> | 2018-05-13 15:12:59 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2018-05-13 15:12:59 +1000 |
commit | 3a92b46e366fa0b537201396d59c2dccfd09088e (patch) | |
tree | 39fbe576068d641e4c935c5631b4d5e0d0b97672 /src/PositionCache.h | |
parent | a00831b266b81c6a6b89cc06bad32f1490d8650b (diff) | |
download | scintilla-mirror-3a92b46e366fa0b537201396d59c2dccfd09088e.tar.gz |
Backport: When line end characters are displayed, indicators are drawn under/over them.
Backport of changeset 6934:c0ca57c954c8.
Diffstat (limited to 'src/PositionCache.h')
-rw-r--r-- | src/PositionCache.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/PositionCache.h b/src/PositionCache.h index 2b3ea1485..7f50c4dec 100644 --- a/src/PositionCache.h +++ b/src/PositionCache.h @@ -85,8 +85,9 @@ public: void Free(); void Invalidate(validLevel validity_); int LineStart(int line) const; - int LineLastVisible(int line) const; - Range SubLineRange(int subLine) const; + enum class Scope { visibleOnly, includeEnd }; + int LineLastVisible(int line, Scope scope) const; + Range SubLineRange(int subLine, Scope scope) const; bool InLine(int offset, int line) const; void SetLineStart(int line, int start); void SetBracesHighlight(Range rangeLine, const Sci::Position braces[], |