aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexers/LexPython.cxx
diff options
context:
space:
mode:
authornyamatongwe <unknown>2010-07-13 21:44:00 +1000
committernyamatongwe <unknown>2010-07-13 21:44:00 +1000
commit87a3a96b3d5047f28d5d89b935014da1fcde1975 (patch)
tree402255a7faccf60f9bddd940acb033909014f078 /lexers/LexPython.cxx
parent593fe3f8be7da9bbacd7d0e840131b0597918357 (diff)
downloadscintilla-mirror-87a3a96b3d5047f28d5d89b935014da1fcde1975.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/LexPython.cxx')
-rw-r--r--lexers/LexPython.cxx18
1 files changed, 11 insertions, 7 deletions
diff --git a/lexers/LexPython.cxx b/lexers/LexPython.cxx
index b8921865c..5e7c5b29c 100644
--- a/lexers/LexPython.cxx
+++ b/lexers/LexPython.cxx
@@ -7,18 +7,22 @@
#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 "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;
@@ -507,7 +511,7 @@ static void FoldPyDoc(unsigned int startPos, int length, int /*initStyle - unuse
}
const int levelAfterComments = indentNext & SC_FOLDLEVELNUMBERMASK;
- const int levelBeforeComments = Platform::Maximum(indentCurrentLevel,levelAfterComments);
+ const int levelBeforeComments = Maximum(indentCurrentLevel,levelAfterComments);
// Now set all the indent levels on the lines we skipped
// Do this from end to start. Once we encounter one line