aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/PositionCache.cxx
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2014-06-23 17:03:49 +1000
committerNeil <nyamatongwe@gmail.com>2014-06-23 17:03:49 +1000
commit7859dd2ac89ed078692cd370b3bdb43740298c5e (patch)
tree76ee493e227ee12319bd334f14572cce79f6fd6f /src/PositionCache.cxx
parentddeaa27240bc59e74043776154c20a08914eb57d (diff)
downloadscintilla-mirror-7859dd2ac89ed078692cd370b3bdb43740298c5e.tar.gz
Use Range type for hotspot to simplify manipulation.
Diffstat (limited to 'src/PositionCache.cxx')
-rw-r--r--src/PositionCache.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/PositionCache.cxx b/src/PositionCache.cxx
index b81fe5930..9e55c1a82 100644
--- a/src/PositionCache.cxx
+++ b/src/PositionCache.cxx
@@ -59,8 +59,7 @@ LineLayout::LineLayout(int maxLineLength_) :
chars(0),
styles(0),
positions(0),
- hsStart(0),
- hsEnd(0),
+ hotspot(0,0),
widthLine(wrapWidthInfinite),
lines(1),
wrapIndent(0) {