parent
2d50a8aa95
commit
f06307cb4c
|
@ -2263,8 +2263,7 @@ function Ace2Inner(editorInfo, cssManagers) {
|
||||||
detectChangesAroundLine(0, 1);
|
detectChangesAroundLine(0, 1);
|
||||||
detectChangesAroundLine(N - 1, 1);
|
detectChangesAroundLine(N - 1, 1);
|
||||||
|
|
||||||
for (const k in observedChanges.cleanNodesNearChanges) {
|
for (const k of Object.keys(observedChanges.cleanNodesNearChanges)) {
|
||||||
if (observedChanges.cleanNodesNearChanges[k]) {
|
|
||||||
const key = k.substring(1);
|
const key = k.substring(1);
|
||||||
if (rep.lines.containsKey(key)) {
|
if (rep.lines.containsKey(key)) {
|
||||||
const line = rep.lines.indexOfKey(key);
|
const line = rep.lines.indexOfKey(key);
|
||||||
|
@ -2272,7 +2271,6 @@ function Ace2Inner(editorInfo, cssManagers) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
const dirtyRanges = [];
|
const dirtyRanges = [];
|
||||||
for (let r = 0; r < cleanRanges.length - 1; r++) {
|
for (let r = 0; r < cleanRanges.length - 1; r++) {
|
||||||
|
|
Loading…
Reference in New Issue