From 32e60eb3ba1906390fd28f8e53d7851903f6810a Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 25 Jan 2012 16:19:44 -0600 Subject: [PATCH] Fix linear alphabet string errors --- doc/Scintilla/ScintillaDoc.html | 2 +- qt/qextscintilla.cpp | 2 +- qt/qextscintillalexerbash.cpp | 2 +- qt/qextscintillalexerbatch.cpp | 2 +- qt/qextscintillalexercpp.cpp | 2 +- qt/qextscintillalexercss.cpp | 2 +- qt/qextscintillalexerdiff.cpp | 2 +- qt/qextscintillalexerhtml.cpp | 2 +- qt/qextscintillalexermakefile.cpp | 2 +- qt/qextscintillalexerperl.cpp | 2 +- qt/qextscintillalexerpov.cpp | 2 +- qt/qextscintillalexerproperties.cpp | 2 +- qt/qextscintillalexertex.cpp | 2 +- src/LexCPP.cpp | 2 +- src/LexSmalltalk.cpp | 4 ++-- 15 files changed, 16 insertions(+), 16 deletions(-) diff --git a/doc/Scintilla/ScintillaDoc.html b/doc/Scintilla/ScintillaDoc.html index a32f9ef..0c6177a 100755 --- a/doc/Scintilla/ScintillaDoc.html +++ b/doc/Scintilla/ScintillaDoc.html @@ -2449,7 +2449,7 @@ struct TextToFind { function. For example, if you don't allow '_' in your set of characters use:
- SCI_SETWORDCHARS(0, "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPTQRSTUVWXYZ0123456789");

+ SCI_SETWORDCHARS(0, "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789");

SCI_SETWHITESPACECHARS(<unused>, const char *chars)
Similar to SCI_SETWORDCHARS, this message allows the user to define which chars Scintilla considers diff --git a/qt/qextscintilla.cpp b/qt/qextscintilla.cpp index d586e21..308a8c2 100644 --- a/qt/qextscintilla.cpp +++ b/qt/qextscintilla.cpp @@ -42,7 +42,7 @@ static const int defaultFoldMarginWidth = 14; // The default set of characters that make up a word. -static const char *defaultWordChars = "_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPTQRSTUVWXYZ0123456789"; +static const char *defaultWordChars = "_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"; // The ctor. diff --git a/qt/qextscintillalexerbash.cpp b/qt/qextscintillalexerbash.cpp index b74f97c..ec798a5 100644 --- a/qt/qextscintillalexerbash.cpp +++ b/qt/qextscintillalexerbash.cpp @@ -66,7 +66,7 @@ int QextScintillaLexerBash::braceStyle() const // Return the string of characters that comprise a word. const char *QextScintillaLexerBash::wordCharacters() const { - return "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPTQRSTUVWXYZ0123456789_$@%&"; + return "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_$@%&"; } diff --git a/qt/qextscintillalexerbatch.cpp b/qt/qextscintillalexerbatch.cpp index 8a7482c..c1c51a3 100644 --- a/qt/qextscintillalexerbatch.cpp +++ b/qt/qextscintillalexerbatch.cpp @@ -58,7 +58,7 @@ const char *QextScintillaLexerBatch::lexer() const // Return the string of characters that comprise a word. const char *QextScintillaLexerBatch::wordCharacters() const { - return "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPTQRSTUVWXYZ-"; + return "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-"; } diff --git a/qt/qextscintillalexercpp.cpp b/qt/qextscintillalexercpp.cpp index 0d1ddb8..1343dd8 100644 --- a/qt/qextscintillalexercpp.cpp +++ b/qt/qextscintillalexercpp.cpp @@ -98,7 +98,7 @@ int QextScintillaLexerCPP::braceStyle() const // Return the string of characters that comprise a word. const char *QextScintillaLexerCPP::wordCharacters() const { - return "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPTQRSTUVWXYZ0123456789_#"; + return "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_#"; } diff --git a/qt/qextscintillalexercss.cpp b/qt/qextscintillalexercss.cpp index 6983202..aad84b1 100644 --- a/qt/qextscintillalexercss.cpp +++ b/qt/qextscintillalexercss.cpp @@ -78,7 +78,7 @@ const char *QextScintillaLexerCSS::blockEnd(int *style) const // Return the string of characters that comprise a word. const char *QextScintillaLexerCSS::wordCharacters() const { - return "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPTQRSTUVWXYZ0123456789-"; + return "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-"; } diff --git a/qt/qextscintillalexerdiff.cpp b/qt/qextscintillalexerdiff.cpp index 9fecf20..0f901bb 100644 --- a/qt/qextscintillalexerdiff.cpp +++ b/qt/qextscintillalexerdiff.cpp @@ -57,7 +57,7 @@ const char *QextScintillaLexerDiff::lexer() const // Return the string of characters that comprise a word. const char *QextScintillaLexerDiff::wordCharacters() const { - return "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPTQRSTUVWXYZ-"; + return "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-"; } diff --git a/qt/qextscintillalexerhtml.cpp b/qt/qextscintillalexerhtml.cpp index 2da5f01..e84ca7a 100644 --- a/qt/qextscintillalexerhtml.cpp +++ b/qt/qextscintillalexerhtml.cpp @@ -61,7 +61,7 @@ const char *QextScintillaLexerHTML::lexer() const // Return the string of characters that comprise a word. const char *QextScintillaLexerHTML::wordCharacters() const { - return "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPTQRSTUVWXYZ0123456789_-"; + return "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_-"; } diff --git a/qt/qextscintillalexermakefile.cpp b/qt/qextscintillalexermakefile.cpp index 5454c96..aad1a39 100644 --- a/qt/qextscintillalexermakefile.cpp +++ b/qt/qextscintillalexermakefile.cpp @@ -57,7 +57,7 @@ const char *QextScintillaLexerMakefile::lexer() const // Return the string of characters that comprise a word. const char *QextScintillaLexerMakefile::wordCharacters() const { - return "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPTQRSTUVWXYZ-"; + return "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-"; } diff --git a/qt/qextscintillalexerperl.cpp b/qt/qextscintillalexerperl.cpp index 8a191f5..6c4dcd1 100644 --- a/qt/qextscintillalexerperl.cpp +++ b/qt/qextscintillalexerperl.cpp @@ -66,7 +66,7 @@ int QextScintillaLexerPerl::braceStyle() const // Return the string of characters that comprise a word. const char *QextScintillaLexerPerl::wordCharacters() const { - return "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPTQRSTUVWXYZ0123456789_$@%&"; + return "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_$@%&"; } diff --git a/qt/qextscintillalexerpov.cpp b/qt/qextscintillalexerpov.cpp index 6864d80..5f7cdee 100644 --- a/qt/qextscintillalexerpov.cpp +++ b/qt/qextscintillalexerpov.cpp @@ -65,7 +65,7 @@ int QextScintillaLexerPOV::braceStyle() const // Return the string of characters that comprise a word. const char *QextScintillaLexerPOV::wordCharacters() const { - return "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPTQRSTUVWXYZ0123456789_#"; + return "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_#"; } diff --git a/qt/qextscintillalexerproperties.cpp b/qt/qextscintillalexerproperties.cpp index 3503f31..137f5e1 100644 --- a/qt/qextscintillalexerproperties.cpp +++ b/qt/qextscintillalexerproperties.cpp @@ -57,7 +57,7 @@ const char *QextScintillaLexerProperties::lexer() const // Return the string of characters that comprise a word. const char *QextScintillaLexerProperties::wordCharacters() const { - return "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPTQRSTUVWXYZ-"; + return "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-"; } diff --git a/qt/qextscintillalexertex.cpp b/qt/qextscintillalexertex.cpp index 912b2a2..4502400 100644 --- a/qt/qextscintillalexertex.cpp +++ b/qt/qextscintillalexertex.cpp @@ -57,7 +57,7 @@ const char *QextScintillaLexerTeX::lexer() const // Return the string of characters that comprise a word. const char *QextScintillaLexerTeX::wordCharacters() const { - return "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPTQRSTUVWXYZ\\@"; + return "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ\\@"; } diff --git a/src/LexCPP.cpp b/src/LexCPP.cpp index 29dc6b9..474acf0 100755 --- a/src/LexCPP.cpp +++ b/src/LexCPP.cpp @@ -21,7 +21,7 @@ #include "SciLexer.h" #define SET_LOWER "abcdefghijklmnopqrstuvwxyz" -#define SET_UPPER "ABCDEFGHIJKLMNOPTQRSTUVWXYZ" +#define SET_UPPER "ABCDEFGHIJKLMNOPQRSTUVWXYZ" #define SET_DIGITS "0123456789" class SetOfCharacters { diff --git a/src/LexSmalltalk.cpp b/src/LexSmalltalk.cpp index 96b942a..6f43ec3 100644 --- a/src/LexSmalltalk.cpp +++ b/src/LexSmalltalk.cpp @@ -30,10 +30,10 @@ classificationBlock := [ :charClass :chars | classificationBlock value: #DecDigit value: '0123456789'; - value: #Letter value: '_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPTQRSTUVWXYZ'; + value: #Letter value: '_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'; value: #Special value: '()[]{};.^:'; value: #BinSel value: '~@%&*-+=|\/,<>?!'; - value: #Upper value: 'ABCDEFGHIJKLMNOPTQRSTUVWXYZ'. + value: #Upper value: 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'. ((String new: 500) streamContents: [ :stream | stream crLf; nextPutAll: 'static int ClassificationTable[256] = {'.