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"