Skip to content

Overriding Drag Events #223

@JordanMartinez

Description

@JordanMartinez

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions