Fix linear alphabet string errors

pull/1/head
Timothy Pearson 12 yıl önce
ebeveyn 5fbeeb1ce8
işleme 32e60eb3ba

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Yükleniyor…
İptal
Kaydet