add countable check to search_marker update
This commit is contained in:
parent
d80512d690
commit
da21fca334
@ -573,7 +573,7 @@ export class Item extends AbstractStruct {
|
|||||||
// right is going to be "forgotten" so we need to update the marker
|
// right is going to be "forgotten" so we need to update the marker
|
||||||
marker.p = this
|
marker.p = this
|
||||||
// adjust marker index
|
// adjust marker index
|
||||||
if (!this.deleted) {
|
if (!this.deleted && this.countable) {
|
||||||
marker.index -= this.length
|
marker.index -= this.length
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user