mirror of
https://github.com/zyedidia/micro
synced 2024-10-04 15:09:41 +00:00
parent
eb27d65d24
commit
39645d4bfd
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue