File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/vs/editor/browser/controller/editContext/native Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -203,8 +203,8 @@ export class NativeEditContext extends AbstractEditContext {
203
203
let reenableTracking : boolean = false ;
204
204
this . _register ( IME . onDidChange ( ( ) => {
205
205
if ( IME . enabled && reenableTracking ) {
206
- this . domNode . focus ( ) ;
207
206
this . _focusTracker . resume ( ) ;
207
+ this . domNode . focus ( ) ;
208
208
reenableTracking = false ;
209
209
}
210
210
if ( ! IME . enabled && this . isFocused ( ) ) {
@@ -593,7 +593,7 @@ export class NativeEditContext extends AbstractEditContext {
593
593
const delta2 = now - this . _screenReaderSupport . getIgnoreSelectionChangeTime ( ) ;
594
594
this . _screenReaderSupport . resetSelectionChangeTime ( ) ;
595
595
if ( delta2 < 100 ) {
596
- // received a `selectionchange` event within 100ms since we touched the textarea
596
+ // received a `selectionchange` event within 100ms since we touched the edit context
597
597
// => ignore it, since we caused it
598
598
return ;
599
599
}
You can’t perform that action at this time.
0 commit comments