mirror of
https://github.com/Hopiu/micro.git
synced 2026-03-23 09:20:23 +00:00
parent
eb27d65d24
commit
39645d4bfd
1 changed files with 1 additions and 0 deletions
|
|
@ -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