mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-29 06:12:35 +09:00
Fix multi cursor relocate
This commit is contained in:
@@ -144,7 +144,6 @@ func (b *Buffer) ReplaceRegex(start, end Loc, search *regexp.Regexp, replace []b
|
||||
l := b.lines[i].data
|
||||
charpos := 0
|
||||
|
||||
// TODO: replace within X coords of selection
|
||||
if start.Y == end.Y && i == start.Y {
|
||||
l = util.SliceStart(l, end.X)
|
||||
l = util.SliceEnd(l, start.X)
|
||||
|
||||
Reference in New Issue
Block a user