I want to be override StyledTextAreaBehavrior#mouseReleased's dragSelection handling. Instead of moving the selected text to where the user releases the mouse, I want to copy that text there and style it underneath a different style.
Right now, my two options are:
- rewrite all of the functionality of this code (enum and overriding default event handling) just to fix this one instance
- inline dragSelection into
StyledTextArea itself and override only the MouseReleased event handling.
I want to be override
StyledTextAreaBehavrior#mouseReleased's dragSelection handling. Instead of moving the selected text to where the user releases the mouse, I want to copy that text there and style it underneath a different style.Right now, my two options are:
StyledTextAreaitself and override only the MouseReleased event handling.