Fixes e (end of word)
"e" will now work how it does in vim. Pressing "e" moves the cursor to the end of the current word. If already at the end of the word then it moves the cursor to the end of the next word.
This commit is contained in:
parent
ffb71f00c7
commit
00923cff63
|
@ -972,13 +972,16 @@ Function ProcessMovementKey(keyChar, Optional bExpand, Optional keyModifiers)
|
|||
' maybe eventually cursorGoto... should return True/False for bsetCursor
|
||||
bSetCursor = False
|
||||
|
||||
ElseIf keyChar = "G" Then
|
||||
oTextCursor.gotoEnd(bExpand)
|
||||
ElseIf keyChar = "G" Then
|
||||
oTextCursor.gotoEnd(bExpand)
|
||||
ElseIf keyChar = "w" or keyChar = "W" Then
|
||||
oTextCursor.gotoNextWord(bExpand)
|
||||
ElseIf keyChar = "b" or keyChar = "B" Then
|
||||
oTextCursor.gotoPreviousWord(bExpand)
|
||||
ElseIf keyChar = "e" Then
|
||||
If oTextCursor.isEndOfWord(bExpand) Then
|
||||
oTextCursor.gotoNextWord(bExpand)
|
||||
End If
|
||||
oTextCursor.gotoEndOfWord(bExpand)
|
||||
|
||||
ElseIf keyChar = ")" Then
|
||||
|
|
Loading…
Reference in New Issue