From 87a3a96b3d5047f28d5d89b935014da1fcde1975 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Tue, 13 Jul 2010 21:44:00 +1000 Subject: For new lexer design change includes to add new files and remove unused files. Normalise order of includes. Minor fixes for compatibility with new lexer design. --- lexers/LexEScript.cxx | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'lexers/LexEScript.cxx') diff --git a/lexers/LexEScript.cxx b/lexers/LexEScript.cxx index 295aaec53..0e65f7312 100644 --- a/lexers/LexEScript.cxx +++ b/lexers/LexEScript.cxx @@ -9,15 +9,19 @@ #include #include #include +#include -#include "Platform.h" +#include "ILexer.h" +#include "Scintilla.h" +#include "SciLexer.h" -#include "PropSet.h" +#include "PropSetSimple.h" +#include "WordList.h" +#include "LexAccessor.h" #include "Accessor.h" #include "StyleContext.h" -#include "KeyWords.h" -#include "Scintilla.h" -#include "SciLexer.h" +#include "CharacterSet.h" +#include "LexerModule.h" #ifdef SCI_NAMESPACE using namespace Scintilla; @@ -198,7 +202,7 @@ static void FoldESCRIPTDoc(unsigned int startPos, int length, int initStyle, Wor styleNext = styler.StyleAt(i + 1); bool atEOL = (ch == '\r' && chNext != '\n') || (ch == '\n'); - + if (foldComment && IsStreamCommentStyle(style)) { if (!IsStreamCommentStyle(stylePrev)) { levelCurrent++; -- cgit v1.2.3