You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix edit actions when the text area is not focused
Since some edit actions are handled by RTextArea Action objects
directly, they no longer worked when the main text area was not focused.
This is because RecordableTextAction uses TextAction.getTextComponent to
figure out what component to act on, which resolves to the event source
(if it is a JTextComponent) or the most recently JTextComponent
otherwise.
In this case, it meant that if the error output component is
focused, actions will not work. To fix that, the actions are wrapped to
always act on the text area in the current tab, instead of relying on
getTextComponent().
0 commit comments