From 706467b15ad45ab2653733eff7e3afdf3486b251 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Wed, 16 Nov 2011 10:43:52 +1100 Subject: Bug #3283519. CountCharacters added to count the number of characters between two positions. From Andrey Moskalyov. --- src/Editor.cxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/Editor.cxx') 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); } -- cgit v1.2.3