From 7a55b6d47b75b665100a04ca16e6a210d436d235 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Mon, 10 Jan 2011 12:08:49 +1100 Subject: 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. --- src/Document.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Document.h') 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); -- cgit v1.2.3