TextAreaActions
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Actions ENTER, INDENT and UNINDENT are added a KeyEvent filters (instead of handlers). Otherwise, Tab/Shift+Tab would change the focus, and Enter would fire the Button with Button.defaultButton == true.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
TAB has two behaviours. If there is a multi-line selection, then it is the same as INDENT. If there is no selection, or the selection is limited to a single line, then the current selection is replaced with a TAB
character. By default, TAB has no KeyCombination, and is effectively disabled. To enable it, change INDENT's KeyCombination to null, and set TAB's KeyCombination to Key.TAB.noMods()
.