parent
63fa8fec41
commit
a1f3499825
1 changed files with 8 additions and 0 deletions
|
@ -349,6 +349,14 @@ func (b *Buffer) MergeCursors() {
|
||||||
}
|
}
|
||||||
|
|
||||||
b.cursors = cursors
|
b.cursors = cursors
|
||||||
|
|
||||||
|
for i := range b.cursors {
|
||||||
|
b.cursors[i].Num = i
|
||||||
|
}
|
||||||
|
|
||||||
|
if b.curCursor >= len(b.cursors) {
|
||||||
|
b.curCursor = len(b.cursors) - 1
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (b *Buffer) UpdateCursors() {
|
func (b *Buffer) UpdateCursors() {
|
||||||
|
|
Loading…
Reference in a new issue