Commit f8d41a1
committed
Track last editor focused and refocus when window refocuses
In desktop VScode, focus gets lost when Alt-Tabbing or switching tab views
(unlike tabbing around a browser, which remembers)
Do some focus-tracking for the various codemirror instances. This is likely not
perfect yet, but it's a lot better
Addresses jpolitz/pyret-parley-vscode#131 parent 17dd4e1 commit f8d41a1
1 file changed
+8
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
| 155 | + | |
155 | 156 | | |
156 | 157 | | |
157 | 158 | | |
| |||
230 | 231 | | |
231 | 232 | | |
232 | 233 | | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
233 | 237 | | |
234 | 238 | | |
235 | 239 | | |
| |||
1417 | 1421 | | |
1418 | 1422 | | |
1419 | 1423 | | |
| 1424 | + | |
| 1425 | + | |
| 1426 | + | |
| 1427 | + | |
1420 | 1428 | | |
1421 | 1429 | | |
1422 | 1430 | | |
| |||
0 commit comments