aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexers/LexScriptol.cxx
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2010-07-13 21:44:00 +1000
committernyamatongwe <devnull@localhost>2010-07-13 21:44:00 +1000
commitf5e7b31bb9c60f85e91a0958ae2e7452a2792063 (patch)
treeb54aacc72daf0121e9c0e2b28583b2372a3b6aab /lexers/LexScriptol.cxx
parent412fd42d7b9f10cb615e5e0ed01d1d9f51ae5f2d (diff)
downloadscintilla-mirror-f5e7b31bb9c60f85e91a0958ae2e7452a2792063.tar.gz
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.
Diffstat (limited to 'lexers/LexScriptol.cxx')
-rw-r--r--lexers/LexScriptol.cxx22
1 files changed, 13 insertions, 9 deletions
diff --git a/lexers/LexScriptol.cxx b/lexers/LexScriptol.cxx
index 76c38e6b6..756efb67f 100644
--- a/lexers/LexScriptol.cxx
+++ b/lexers/LexScriptol.cxx
@@ -5,18 +5,23 @@
#include <stdlib.h>
#include <string.h>
-#include <ctype.h>
#include <stdio.h>
#include <stdarg.h>
+#include <assert.h>
+#include <ctype.h>
-#include "Platform.h"
-
-#include "PropSet.h"
-#include "Accessor.h"
-#include "KeyWords.h"
+#include "ILexer.h"
#include "Scintilla.h"
#include "SciLexer.h"
+#include "PropSetSimple.h"
+#include "WordList.h"
+#include "LexAccessor.h"
+#include "Accessor.h"
+#include "StyleContext.h"
+#include "CharacterSet.h"
+#include "LexerModule.h"
+
#ifdef SCI_NAMESPACE
using namespace Scintilla;
#endif
@@ -48,10 +53,9 @@ static void ClassifyWordSol(unsigned int start, unsigned int end, WordList &keyw
static bool IsSolComment(Accessor &styler, int pos, int len)
{
- char c;
if(len > 0)
{
- c = styler[pos];
+ char c = styler[pos];
if(c == '`') return true;
if(len > 1)
{
@@ -328,7 +332,7 @@ static void ColouriseSolDoc(unsigned int startPos, int length, int initStyle,
state = SCE_SCRIPTOL_DEFAULT;
}
}
-
+
}
chPrev2 = chPrev;
chPrev = ch;