From 1d36d7e91e44d0675bf1c1e3c8834b1d0a4804ee Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Wed, 19 Jun 2002 11:01:21 +0000 Subject: TextHeight feature contributed by Josh Wingstrom. --- src/Editor.cxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') 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)) { -- cgit v1.2.3