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
commit4bbf7d16f03b48ddd4d2184bc21cb98889b64899 (patch)
tree7e1da5c1a9de988de16dff4e5f38ececb707c898 /src/PositionCache.cxx
parent3b5496d80c0fb79ebad20d7253b944a072d5cd7f (diff)
downloadscintilla-mirror-4bbf7d16f03b48ddd4d2184bc21cb98889b64899.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) {