Fix for "V" when selecting the Visual Base Line.

Before this fix the first line selected in "V" mode wasn't always
selected correctly.
This commit is contained in:
LinuxMage 2015-12-22 14:37:58 -08:00
parent 6ee1891169
commit 3cf3f52df8
1 changed files with 2 additions and 3 deletions

View File

@ -93,10 +93,9 @@ Function formatVisualBase()
' then back to the start of the current line.
getCursor().gotoEndOfLine(False)
If getCursor().getPosition().Y() = VISUAL_BASE.Y() Then
If getCursor().goRight(1, False) Then
getCursor().goLeft(1, True)
End If
getCursor().goRight(1, False)
End If
getCursor().goLeft(1, True)
getCursor().gotoStartOfLine(True)
End Function