From cfff2982e8c525528dec6fff5c0e80c4487b3896 Mon Sep 17 00:00:00 2001 From: James Johnson Date: Fri, 12 Jan 2018 12:00:38 -0500 Subject: [PATCH] Moved back to EditBox --- src/dlangui/widgets/editors.d | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/dlangui/widgets/editors.d b/src/dlangui/widgets/editors.d index 70d16826..5236eaf4 100644 --- a/src/dlangui/widgets/editors.d +++ b/src/dlangui/widgets/editors.d @@ -1290,8 +1290,6 @@ class EditWidgetBase : ScrollWidgetBase, EditableContentListener, MenuItemAction handleAction(ACTION_EDITOR_SELECT_ALL); super.handleFocusChange(focused); } - - protected int _firstVisibleLine; //In word wrap mode, set by caretRect so ensureCaretVisible will know when to scroll protected int caretHeightOffset; @@ -2553,7 +2551,7 @@ class EditBox : EditWidgetBase { } } - //protected int _firstVisibleLine; + protected int _firstVisibleLine; protected int _maxLineWidth; protected int _numVisibleLines; // number of lines visible in client area