mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41: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) {
|
||||
historian->undo();
|
||||
refreshSyntax();
|
||||
}
|
||||
if (key == keycode::Y) {
|
||||
historian->redo();
|
||||
refreshSyntax();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue