Skip to content

Conversation

@SwissalpS
Copy link
Contributor

provides:

  • drag and drop of selected text (in same document)
  • LMB+drag selected text to move it elsewhere
  • or LMB on selection and then LMB at destination (if sticky is enabled)
  • hold ctrl on release to copy selection
  • press escape to abort

changes:

  • (regretably) dragged selection is no longer deleted when drag starts
    this follows procedure that most editors use.
  • ctrl is checked on release, previously on drag-start/mouse-down
  • added sticky mode to help against finger strain from holding mouse
    button during entire drag procedure
  • moved/copied portion is now selected after operation
  • during drag operation an extra caret is shown to indicate exact
    insertion location and real caret is not blinking
  • adds commands to toggle sticky mode and entire plugin

- need to add caret while dragging so user knows perfectly where text
will be inserted
- need to add sticky mode properly
- test that holding two buttons and releasing right doesn't mess things
up
mainly adapting to same wording as used in lite-xl version
selection is set after operation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant