We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a89761 commit 79e83a0Copy full SHA for 79e83a0
1 file changed
src/vs/editor/common/modes/languageConfigurationRegistry.ts
@@ -289,7 +289,7 @@ export class LanguageConfigurationRegistryImpl {
289
afterEnterText = scopedLineText.substr(range.startColumn - 1 - scopedLineTokens.firstCharOffset);
290
} else {
291
let endScopedLineTokens = this.getScopedLineTokens(model, range.endLineNumber);
292
- afterEnterText = endScopedLineTokens.getLineContent().substr(range.endColumn - 1 - endScopedLineTokens.firstCharOffset);
+ afterEnterText = endScopedLineTokens.getLineContent().substr(range.endColumn - 1);
293
}
294
295
let lineNumber = range.startLineNumber;
0 commit comments