From aff335283c4ea47a38375ef6950ee2c285ddee70 Mon Sep 17 00:00:00 2001 From: Neil Date: Sat, 24 May 2014 09:29:24 +1000 Subject: Removing style byte indicators. --- src/PositionCache.cxx | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/PositionCache.cxx') 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; -- cgit v1.2.3 From b0296d86a48642f2f381c3e0b11a022482ae25e3 Mon Sep 17 00:00:00 2001 From: Neil Date: Sat, 24 May 2014 15:15:49 +1000 Subject: Header include statements are now in a standardised order with that order defined in scripts/HeaderOrder.txt. --- src/PositionCache.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/PositionCache.cxx') diff --git a/src/PositionCache.cxx b/src/PositionCache.cxx index e425ebe69..0d2033bb9 100644 --- a/src/PositionCache.cxx +++ b/src/PositionCache.cxx @@ -17,6 +17,7 @@ #include "Platform.h" +#include "ILexer.h" #include "Scintilla.h" #include "SplitVector.h" @@ -32,7 +33,6 @@ #include "ViewStyle.h" #include "CharClassify.h" #include "Decoration.h" -#include "ILexer.h" #include "CaseFolder.h" #include "Document.h" #include "UniConversion.h" -- cgit v1.2.3