mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-25 01:41:41 +01:00
correct afterEnterText of selection
This commit is contained in:
@@ -289,7 +289,7 @@ export class LanguageConfigurationRegistryImpl {
|
||||
afterEnterText = scopedLineText.substr(range.startColumn - 1 - scopedLineTokens.firstCharOffset);
|
||||
} else {
|
||||
let endScopedLineTokens = this.getScopedLineTokens(model, range.endLineNumber);
|
||||
afterEnterText = endScopedLineTokens.getLineContent().substr(range.endColumn - 1 - endScopedLineTokens.firstCharOffset);
|
||||
afterEnterText = endScopedLineTokens.getLineContent().substr(range.endColumn - 1);
|
||||
}
|
||||
|
||||
let lineNumber = range.startLineNumber;
|
||||
|
||||
Reference in New Issue
Block a user