Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EXPERIMENTAL visual mode from selection #519

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Commits on Oct 18, 2015

  1. EXPERIMENTAL - 'visualother' option combines visual and selection

    Eclipse has a few tricks of its own to make a selection: Expand
    selection to left element, to right element, to enclosing element or
    Restore previous selection.
    
    These are done using the menu or keyboard, so the SelectionVisualHandler
    needs to differentiate between selections from Vrapper and those of
    Eclipse.
    albertdev committed Oct 18, 2015
    Configuration menu
    Copy the full SHA
    38419ef View commit details
    Browse the repository at this point in the history
  2. EXPERIMENTAL - Trigger selection handlers after undoing block

    The EclipseHistoryService needed to be changed because it would clear
    the selection without triggering the SelectionVisualHandler, and that
    would keep Vrapper stuck in Visual mode even when there was no
    selection.
    albertdev committed Oct 18, 2015
    Configuration menu
    Copy the full SHA
    63ef396 View commit details
    Browse the repository at this point in the history
  3. EXPERIMENTAL - Introduce Select mode

    This behaves exactly like Eclipse's selection: any movement clears the
    selection and moves back to plain insert, any alphanumeric characters
    replace the selection with that character.
    
    Extending with Shift+Movement works as usual but starting Select mode is
    not yet implemented. For now it can only be entered when 'visualother'
    is set and a selection is started in Insert mode.
    albertdev committed Oct 18, 2015
    Configuration menu
    Copy the full SHA
    721a817 View commit details
    Browse the repository at this point in the history