File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/vs/editor/contrib/suggest/browser Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -380,9 +380,6 @@ export class SuggestController implements IEditorContribution {
380
380
insertText = SnippetParser . escape ( insertText ) ;
381
381
}
382
382
383
- // cancel -> stops all listening and closes widget
384
- this . model . cancel ( ) ;
385
-
386
383
snippetController . insert ( insertText , {
387
384
overwriteBefore : info . overwriteBefore ,
388
385
overwriteAfter : info . overwriteAfter ,
@@ -393,6 +390,9 @@ export class SuggestController implements IEditorContribution {
393
390
overtypingCapturer : this . _overtypingCapturer . value
394
391
} ) ;
395
392
393
+ // cancel -> stops all listening and closes widget
394
+ this . model . cancel ( ) ;
395
+
396
396
if ( ! ( flags & InsertFlags . NoAfterUndoStop ) ) {
397
397
this . editor . pushUndoStop ( ) ;
398
398
}
You can’t perform that action at this time.
0 commit comments