diff options
Diffstat (limited to 'src/PositionCache.cxx')
| -rw-r--r-- | src/PositionCache.cxx | 7 | 
1 files changed, 1 insertions, 6 deletions
| diff --git a/src/PositionCache.cxx b/src/PositionCache.cxx index 2a120c1cf..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" @@ -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; | 
