aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.cxx
diff options
context:
space:
mode:
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 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)) {