aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.cxx
diff options
context:
space:
mode:
authornyamatongwe <unknown>2011-11-16 10:43:52 +1100
committernyamatongwe <unknown>2011-11-16 10:43:52 +1100
commit706467b15ad45ab2653733eff7e3afdf3486b251 (patch)
tree24d4c42b2a7f475a04965623cea030c73c4d88e2 /src/Editor.cxx
parentad331d1977908f0b034c4bd9ab6d039a32ff0f50 (diff)
downloadscintilla-mirror-706467b15ad45ab2653733eff7e3afdf3486b251.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);
}