aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/PositionCache.h
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2009-08-26 10:48:18 +0000
committernyamatongwe <devnull@localhost>2009-08-26 10:48:18 +0000
commit14cfe75a40f8d92df6655d49f22cb325ddad9faf (patch)
tree1d4a17c53614d85917a198b948d6d96e174c7c8a /src/PositionCache.h
parent22a86737d86366ca685297ba544a1c3cdae08c4d (diff)
downloadscintilla-mirror-14cfe75a40f8d92df6655d49f22cb325ddad9faf.tar.gz
Avoid breaking text into substrings on selection boundaries for drawing
when the selection is empty (thus only needing a caret drawn) or when the selection settings do not need the text drawn as pieces such as when the selection is drawn translucently.
Diffstat (limited to 'src/PositionCache.h')
-rw-r--r--src/PositionCache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PositionCache.h b/src/PositionCache.h
index a86881070..e99ae5870 100644
--- a/src/PositionCache.h
+++ b/src/PositionCache.h
@@ -136,7 +136,7 @@ class BreakFinder {
int subBreak;
void Insert(int val);
public:
- BreakFinder(LineLayout *ll_, int lineStart_, int lineEnd_, int posLineStart_, bool utf8_, int xStart);
+ BreakFinder(LineLayout *ll_, int lineStart_, int lineEnd_, int posLineStart_, bool utf8_, int xStart, bool breakForSelection);
~BreakFinder();
int First();
int Next();