diff options
author | nyamatongwe <devnull@localhost> | 2011-01-10 12:08:49 +1100 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2011-01-10 12:08:49 +1100 |
commit | a172aaa969abd0fcf80aa6cb1ae70fdc4698649f (patch) | |
tree | 6b6307fc01ca9ee459cff7c82ce8dac1ffc9ed37 /src/Document.h | |
parent | 940db5f84237af4ed2cd33345b626ed7095089fb (diff) | |
download | scintilla-mirror-a172aaa969abd0fcf80aa6cb1ae70fdc4698649f.tar.gz |
Fixing double-click inside word selecting non-word characters. Bug #3111174.
A double-click on a visible character always selects that character and the word it is in.
From Jordan Russell.
Diffstat (limited to 'src/Document.h')
-rw-r--r-- | src/Document.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Document.h b/src/Document.h index 78f00a766..ecdf5ff65 100644 --- a/src/Document.h +++ b/src/Document.h @@ -357,6 +357,7 @@ public: const WatcherWithUserData *GetWatchers() const { return watchers; } int GetLenWatchers() const { return lenWatchers; } + CharClassify::cc WordCharClass(unsigned char ch); bool IsWordPartSeparator(char ch); int WordPartLeft(int pos); int WordPartRight(int pos); @@ -368,7 +369,6 @@ public: int BraceMatch(int position, int maxReStyle); private: - CharClassify::cc WordCharClass(unsigned char ch); bool IsWordStartAt(int pos); bool IsWordEndAt(int pos); bool IsWordAt(int start, int end); |