From e1e36cabc83e782d257c6a4c50c2f42faf9fdce3 Mon Sep 17 00:00:00 2001 From: Bruce Steers Date: Tue, 27 Oct 2020 20:28:44 +0000 Subject: [PATCH] Update TextEditor.class: removed anything non-highlight related --- comp/src/gb.form.editor/.src/TextEditor.class | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/comp/src/gb.form.editor/.src/TextEditor.class b/comp/src/gb.form.editor/.src/TextEditor.class index 431e2631e..2451255b7 100644 --- a/comp/src/gb.form.editor/.src/TextEditor.class +++ b/comp/src/gb.form.editor/.src/TextEditor.class @@ -392,7 +392,7 @@ Private Sub Init() $bShowCursor = True GotoCenter(0, 0) - Scroll(0, 0) + Refresh End @@ -2021,9 +2021,9 @@ Private Sub EnsureVisible(Optional bCenter As Boolean) End -Public Sub GotoCenter(NX As Integer, NY As Integer, Optional Mark As Boolean) +Public Sub GotoCenter(NX As Integer, NY As Integer) - Goto(NX, NY, Mark) + Goto(NX, NY) EnsureVisible(True) ' If Not $hTimerEnsureVisible Then ' $hTimerEnsureVisible = New Timer As "EnsureVisible"