diff options
Diffstat (limited to 'ext/js/dom/text-source-generator.js')
-rw-r--r-- | ext/js/dom/text-source-generator.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/js/dom/text-source-generator.js b/ext/js/dom/text-source-generator.js index c4711411..279c4725 100644 --- a/ext/js/dom/text-source-generator.js +++ b/ext/js/dom/text-source-generator.js @@ -174,7 +174,7 @@ export class TextSourceGenerator { // Result return { text: text.substring(cursorStart, cursorEnd), - offset: startLength - cursorStart + offset: startLength - cursorStart, }; } |