mirror of
https://github.com/zyedidia/micro.git
synced 2026-02-07 07:30:20 +09:00
@@ -127,6 +127,7 @@ func Search(searchStr string, v *View, down bool) {
|
||||
|
||||
v.Cursor.CurSelection[0] = FromCharPos(charPos+runePos(match[0], str), v.Buf)
|
||||
v.Cursor.CurSelection[1] = FromCharPos(charPos+runePos(match[1], str), v.Buf)
|
||||
v.Cursor.Loc = v.Cursor.CurSelection[1]
|
||||
if v.Relocate() {
|
||||
v.matches = Match(v)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user