diff --git a/source/Editor.ts b/source/Editor.ts index f1655c0..78a4ba8 100644 --- a/source/Editor.ts +++ b/source/Editor.ts @@ -710,7 +710,7 @@ class Squire { ? this._getPath(focus) : '(selection)' : ''; - if (this._path !== newPath) { + if (this._path !== newPath || anchor !== focus) { this._path = newPath; this.fireEvent('pathChange', { path: newPath,