mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-13 06:51:51 +00:00
refresh syntax on undo/redo TextBox actions
This commit is contained in:
parent
4c493aff25
commit
433c12a17a
1 changed files with 2 additions and 0 deletions
|
|
@ -870,9 +870,11 @@ void TextBox::keyPressed(keycode key) {
|
||||||
}
|
}
|
||||||
if (key == keycode::Z) {
|
if (key == keycode::Z) {
|
||||||
historian->undo();
|
historian->undo();
|
||||||
|
refreshSyntax();
|
||||||
}
|
}
|
||||||
if (key == keycode::Y) {
|
if (key == keycode::Y) {
|
||||||
historian->redo();
|
historian->redo();
|
||||||
|
refreshSyntax();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue