aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexers/LexPerl.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/LexPerl.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/LexPerl.cxx')
-rw-r--r--lexers/LexPerl.cxx23
1 files changed, 13 insertions, 10 deletions
diff --git a/lexers/LexPerl.cxx b/lexers/LexPerl.cxx
index bca78f57c..e5b66eebb 100644
--- a/lexers/LexPerl.cxx
+++ b/lexers/LexPerl.cxx
@@ -8,19 +8,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;
@@ -1187,12 +1190,12 @@ static void FoldPerlDoc(unsigned int startPos, int length, int, WordList *[],
bool foldCompact = styler.GetPropertyInt("fold.compact", 1) != 0;
// Custom folding of POD and packages
- // property fold.perl.pod
- // Enable folding Pod blocks when using the Perl lexer.
+ // property fold.perl.pod
+ // Enable folding Pod blocks when using the Perl lexer.
bool foldPOD = styler.GetPropertyInt("fold.perl.pod", 1) != 0;
- // property fold.perl.package
- // Enable folding packages when using the Perl lexer.
+ // property fold.perl.package
+ // Enable folding packages when using the Perl lexer.
bool foldPackage = styler.GetPropertyInt("fold.perl.package", 1) != 0;
unsigned int endPos = startPos + length;