Commit 6019b13
committed
[contenteditable input] Expand scanned range when selection at start/end of line
So that the code doesn't get confused when backspacing or
deleting across a line.
This is still flaky. Ideally we'd capture backspace as a key event,
but Android Chrome makes that impossible.
Issue codemirror#43071 parent d7b1370 commit 6019b13
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
241 | 245 | | |
242 | 246 | | |
243 | 247 | | |
| |||
258 | 262 | | |
259 | 263 | | |
260 | 264 | | |
| 265 | + | |
261 | 266 | | |
262 | 267 | | |
263 | 268 | | |
| |||
0 commit comments