refresh syntax on undo/redo TextBox actions
This commit is contained in:
@@ -870,9 +870,11 @@ void TextBox::keyPressed(keycode key) {
|
||||
}
|
||||
if (key == keycode::Z) {
|
||||
historian->undo();
|
||||
refreshSyntax();
|
||||
}
|
||||
if (key == keycode::Y) {
|
||||
historian->redo();
|
||||
refreshSyntax();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user