aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/PositionCache.h
diff options
context:
space:
mode:
authornyamatongwe <unknown>2009-08-26 10:48:18 +0000
committernyamatongwe <unknown>2009-08-26 10:48:18 +0000
commit275e0c25ae6cf1568099509682417b1c8ae60911 (patch)
tree1d4a17c53614d85917a198b948d6d96e174c7c8a /src/PositionCache.h
parent8e9c1647b1620be3e44d59d6429c68ed46010017 (diff)
downloadscintilla-mirror-275e0c25ae6cf1568099509682417b1c8ae60911.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();