mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-15 12:51:30 -05:00
Merge pull request #9420 from Microsoft/formatting_loc
Do not scan nodes preceding formatted region, just skip over them
This commit is contained in:
9
tests/cases/fourslash/formattingTemplatesWithNewline.ts
Normal file
9
tests/cases/fourslash/formattingTemplatesWithNewline.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
/// <reference path="fourslash.ts" />
|
||||
|
||||
////`${1}`;
|
||||
////`
|
||||
////`;/**/1
|
||||
|
||||
goTo.marker();
|
||||
edit.insert('\n');
|
||||
verify.currentLineContentIs("1");
|
||||
Reference in New Issue
Block a user