mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-20 08:38:56 +01:00
De-prioritize markdown link paste in code blocks (#202109)
This commit is contained in:
@@ -27,4 +27,9 @@ export class InMemoryDocument implements ITextDocument {
|
||||
getText(range?: vscode.Range): string {
|
||||
return this._doc.getText(range);
|
||||
}
|
||||
|
||||
positionAt(offset: number): vscode.Position {
|
||||
const pos = this._doc.positionAt(offset);
|
||||
return new vscode.Position(pos.line, pos.character);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user