Browse Source

Fix linear alphabet string errors

tags/r14.0.0
Timothy Pearson 7 years ago
parent
commit
32e60eb3ba

+ 1
- 1
doc/Scintilla/ScintillaDoc.html View File

@@ -2449,7 +2449,7 @@ struct TextToFind {
function.
For example, if you don't allow '_' in your set of characters
use:<br />
<code>SCI_SETWORDCHARS(0, "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPTQRSTUVWXYZ0123456789")</code>;</p>
<code>SCI_SETWORDCHARS(0, "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789")</code>;</p>

<p><b id="SCI_SETWHITESPACECHARS">SCI_SETWHITESPACECHARS(&lt;unused&gt;, const char *chars)</b><br />
Similar to <code>SCI_SETWORDCHARS</code>, this message allows the user to define which chars Scintilla considers

+ 1
- 1
qt/qextscintilla.cpp View File

@@ -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.

+ 1
- 1
qt/qextscintillalexerbash.cpp View File

@@ -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_$@%&";
}



+ 1
- 1
qt/qextscintillalexerbatch.cpp View File

@@ -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-";
}



+ 1
- 1
qt/qextscintillalexercpp.cpp View File

@@ -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_#";
}



+ 1
- 1
qt/qextscintillalexercss.cpp View File

@@ -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-";
}



+ 1
- 1
qt/qextscintillalexerdiff.cpp View File

@@ -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-";
}



+ 1
- 1
qt/qextscintillalexerhtml.cpp View File

@@ -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_-";
}



+ 1
- 1
qt/qextscintillalexermakefile.cpp View File

@@ -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-";
}



+ 1
- 1
qt/qextscintillalexerperl.cpp View File

@@ -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_$@%&";
}



+ 1
- 1
qt/qextscintillalexerpov.cpp View File

@@ -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_#";
}



+ 1
- 1
qt/qextscintillalexerproperties.cpp View File

@@ -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-";
}



+ 1
- 1
qt/qextscintillalexertex.cpp View File

@@ -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\\@";
}



+ 1
- 1
src/LexCPP.cpp View File

@@ -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 {

+ 2
- 2
src/LexSmalltalk.cpp View File

@@ -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] = {'.

Loading…
Cancel
Save