aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.cxx
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2011-11-16 10:43:52 +1100
committernyamatongwe <devnull@localhost>2011-11-16 10:43:52 +1100
commit445cc61d3c5dead15aeca9c363ccbbe57018d744 (patch)
tree47688bbd73047e85901aec3b576383b621c6ecc8 /src/Editor.cxx
parent1def08bb984e864f4d34064bdb38db2e47e7bd86 (diff)
downloadscintilla-mirror-445cc61d3c5dead15aeca9c363ccbbe57018d744.tar.gz
Bug #3283519. CountCharacters added to count the number of
characters between two positions. From Andrey Moskalyov.
Diffstat (limited to 'src/Editor.cxx')
-rw-r--r--src/Editor.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx
index 4c647b61e..8c939fdb1 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -9259,6 +9259,9 @@ sptr_t Editor::WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam) {
case SCI_GETTECHNOLOGY:
return technology;
+ case SCI_COUNTCHARACTERS:
+ return pdoc->CountCharacters(wParam, lParam);
+
default:
return DefWndProc(iMessage, wParam, lParam);
}