refresh syntax on undo/redo TextBox actions

This commit is contained in:
MihailRis 2025-03-12 01:54:52 +03:00
parent 4c493aff25
commit 433c12a17a

View File

@ -870,9 +870,11 @@ void TextBox::keyPressed(keycode key) {
}
if (key == keycode::Z) {
historian->undo();
refreshSyntax();
}
if (key == keycode::Y) {
historian->redo();
refreshSyntax();
}
}
}