diff options
author | nyamatongwe <devnull@localhost> | 2009-08-26 10:48:18 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2009-08-26 10:48:18 +0000 |
commit | 14cfe75a40f8d92df6655d49f22cb325ddad9faf (patch) | |
tree | 1d4a17c53614d85917a198b948d6d96e174c7c8a /src/PositionCache.h | |
parent | 22a86737d86366ca685297ba544a1c3cdae08c4d (diff) | |
download | scintilla-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.h | 2 |
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(); |