mirror of https://github.com/adamdruppe/arsd.git
backspace fixed
This commit is contained in:
parent
95c4dfb17c
commit
83c5a188fe
|
@ -11019,6 +11019,8 @@ mixin template ExperimentalTextComponent() {
|
|||
return;
|
||||
if(carat.offset == 0) {
|
||||
auto prev = e.getPreviousInlineElement();
|
||||
if(prev is null)
|
||||
return;
|
||||
auto newOffset = prev.text.length;
|
||||
tryMerge(prev, e);
|
||||
carat.inlineElement = prev;
|
||||
|
|
Loading…
Reference in New Issue