Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

Hide cursor when there's a selection - #91

Merged
nathansobo merged 4 commits into
masterfrom
hide-selection-cursor
Oct 29, 2012
Merged

nathansobo merged 4 commits into
masterfrom
hide-selection-cursor

Conversation

@nathansobo

Copy link
Copy Markdown
Contributor

This pull request hides the cursor when there's a selection, and adjusts commenting and indent behavior to exclude the last line of the selection if the selection ends on column 0.

Before:

Before

After:

After

Nathan Sobo added 4 commits October 29, 2012 15:51
Now that the cursor is hidden at the end of a selection, it's counter-intuitive for the commenting to extend to the next line since there's no visual indicator that the cursor extends to that location.
This provides more intuitive behavior now that the cursor isn't visible when there's a selection.
@nathansobo

Copy link
Copy Markdown
Contributor Author

Fixes #46

@nathansobo
nathansobo merged commit 733264d into master Oct 29, 2012
maxbrunsfeld pushed a commit that referenced this pull request Jul 26, 2016
fs.rename crashes when used across filesystem-boundaries (e.g. /tmp is a
different device than /bin). Issue #91 contains additional information.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant