aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/PositionCache.cxx
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2014-05-24 09:29:24 +1000
committerNeil <nyamatongwe@gmail.com>2014-05-24 09:29:24 +1000
commit14483d14cbf29366f6f0839bd3683f3bfb8c046a (patch)
treeafa33b60e13299f20bad206ff28e6339d0f99d59 /src/PositionCache.cxx
parenta55a7b13deaaf1b19b82ecdbc997d3e457677e26 (diff)
downloadscintilla-mirror-14483d14cbf29366f6f0839bd3683f3bfb8c046a.tar.gz
Removing style byte indicators.
Diffstat (limited to 'src/PositionCache.cxx')
-rw-r--r--src/PositionCache.cxx5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/PositionCache.cxx b/src/PositionCache.cxx
index 2a120c1cf..e425ebe69 100644
--- a/src/PositionCache.cxx
+++ b/src/PositionCache.cxx
@@ -59,8 +59,6 @@ LineLayout::LineLayout(int maxLineLength_) :
edgeColumn(0),
chars(0),
styles(0),
- styleBitsSet(0),
- indicators(0),
positions(0),
hsStart(0),
hsEnd(0),
@@ -81,7 +79,6 @@ void LineLayout::Resize(int maxLineLength_) {
Free();
chars = new char[maxLineLength_ + 1];
styles = new unsigned char[maxLineLength_ + 1];
- indicators = new char[maxLineLength_ + 1];
// Extra position allocated as sometimes the Windows
// GetTextExtentExPoint API writes an extra element.
positions = new XYPOSITION[maxLineLength_ + 1 + 1];
@@ -94,8 +91,6 @@ void LineLayout::Free() {
chars = 0;
delete []styles;
styles = 0;
- delete []indicators;
- indicators = 0;
delete []positions;
positions = 0;
delete []lineStarts;