We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Keybindings don't works as expected if you define an action handler for the UI:
public class SimpleUI extends UI { @Override protected void init(VaadinRequest request) { AceEditor ace = new AceEditor(); ace.setMode(AceMode.java); ace.setTheme(AceTheme.tomorrow_night_bright); ace.setValue("public void functional(String pValue)\n{\n}"); HorizontalLayout hlayout = new HorizontalLayout(ace); setContent(hlayout); addActionHandler(new Handler() { public void handleAction(Action action, Object sender, Object target) { //Global default button handling } public Action[] getActions(Object target, Object sender) { return new Action[] {new ShortcutAction("ENTER", ShortcutAction.KeyCode.ENTER, null)}; } }); } }
ACE editor doesn't insert a newline with this example.
The text was updated successfully, but these errors were encountered:
Man, this is a serious bug. Any workaround?
Sorry, something went wrong.
No branches or pull requests
Keybindings don't works as expected if you define an action handler for the UI:
ACE editor doesn't insert a newline with this example.
The text was updated successfully, but these errors were encountered: