aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/PositionCache.h
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2018-05-13 15:12:59 +1000
committerNeil <nyamatongwe@gmail.com>2018-05-13 15:12:59 +1000
commit0e3b1076abe9efe41952d12ab5dfb9de10fa1f88 (patch)
treef29daea86e2931311a1e6b10c1b3109117e67240 /src/PositionCache.h
parent69b556ea13124d67750c82c2a02d902ddaa78151 (diff)
downloadscintilla-mirror-0e3b1076abe9efe41952d12ab5dfb9de10fa1f88.tar.gz
When line end characters are displayed, indicators are drawn under/over them.
Diffstat (limited to 'src/PositionCache.h')
-rw-r--r--src/PositionCache.h5
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[],