diff options
author | nyamatongwe <devnull@localhost> | 2003-09-07 10:05:20 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2003-09-07 10:05:20 +0000 |
commit | 6d29b5d35e04a8346d2f878f743b874406778715 (patch) | |
tree | c1bb9658b7f8b53fba2c9997a323191aeb1a2db1 | |
parent | 6a858978964f87f4b38412e5d1034a9ad6e25495 (diff) | |
download | scintilla-mirror-6d29b5d35e04a8346d2f878f743b874406778715.tar.gz |
Ensure word selection doesn't decompose DBCS characters.
-rw-r--r-- | src/Document.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Document.cxx b/src/Document.cxx index 78c84d485..3f14335c0 100644 --- a/src/Document.cxx +++ b/src/Document.cxx @@ -761,7 +761,7 @@ int Document::ExtendWordSelect(int pos, int delta, bool onlyWordCharacters) { while (pos < (Length()) && (WordCharClass(cb.CharAt(pos)) == ccStart)) pos++; } - return pos; + return MovePositionOutsideChar(pos, delta); } /** |