diff options
author | Neil <nyamatongwe@gmail.com> | 2019-04-26 07:53:21 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2019-04-26 07:53:21 +1000 |
commit | 0af74116cefe1ef66820f434dd057d2345c382fd (patch) | |
tree | e65fb7158e6d9d7bd4ea20c8c4e544ba1a7f07c3 /src/Document.h | |
parent | 55735ff858696426509af625a56f3bea8c37d00d (diff) | |
download | scintilla-mirror-0af74116cefe1ef66820f434dd057d2345c382fd.tar.gz |
Backport: Feature [feature-requests:#1238]. Simplify camel case forcing by checking only
for upper and lower case characters instead of current word characters.
This changes behaviour for words like "_word" -> "_Word" instead of remaining
"_word" but that doesn't matter for this feature's intended use which is to allow
display of ASCII-only keywords in the user's preferred casing (else/ELSE/Else)
for languages with case-insensitive keywords.
Backport of changeset 7475:cdb7af706ba1.
Diffstat (limited to 'src/Document.h')
-rw-r--r-- | src/Document.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/Document.h b/src/Document.h index adbdc3413..f662dc993 100644 --- a/src/Document.h +++ b/src/Document.h @@ -482,7 +482,6 @@ public: bool AddWatcher(DocWatcher *watcher, void *userData); bool RemoveWatcher(DocWatcher *watcher, void *userData); - bool IsASCIIWordByte(unsigned char ch) const; CharClassify::cc WordCharacterClass(unsigned int ch) const; bool IsWordPartSeparator(unsigned int ch) const; Sci::Position WordPartLeft(Sci::Position pos) const; |