aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2002-06-19 11:01:21 +0000
committernyamatongwe <devnull@localhost>2002-06-19 11:01:21 +0000
commitd7ce81f6083ced58219d728b19d04778377d2f26 (patch)
tree27673630a940f5074c74a2199c8b805289f67897 /src
parentb05e8227fa3e88e762542dbfc31742143eb219df (diff)
downloadscintilla-mirror-d7ce81f6083ced58219d728b19d04778377d2f26.tar.gz
TextHeight feature contributed by Josh Wingstrom.
Diffstat (limited to 'src')
-rw-r--r--src/Editor.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx
index fbf44883c..aa05775de 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -4729,6 +4729,9 @@ sptr_t Editor::WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam) {
PLATFORM_ASSERT(lParam);
return TextWidth(wParam, CharPtrFromSPtr(lParam));
+ case SCI_TEXTHEIGHT:
+ return vs.lineHeight;
+
case SCI_SETENDATLASTLINE:
PLATFORM_ASSERT((wParam == 0) || (wParam ==1));
if (endAtLastLine != (wParam != 0)) {