Преглед изворни кода

focus editor onGutterClick

Borys Palka пре 5 година
родитељ
комит
ce52d3536f
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      src/handlers/cell.ts

+ 1 - 0
src/handlers/cell.ts

@@ -207,6 +207,7 @@ export class CellManager implements IDisposable {
       return;
     }
 
+    editor.focus();
     this.clearGutter(this.activeCell);
 
     const isRemoveGutter = !!info.gutterMarkers;