Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add showCursorOnSelection config #13664
Description of the Change
Adds a new config
Why Should This Be In Core?
It's pretty tied to the internals of
Brings Atom in line with the behavior of Sublime (and others).
This is super useful for when you do
The current behavior is to hide the cursor when there's a selection. Since we're changing the default, that's sure to upset someone. However, since it is configurable, those that don't like it can easily revert to the old behavior.
Has any testing been done for when people change the appearance of their cursor? Examples:
Prevent cursor from blinking
Make cursor pulse instead of blink
@lee-dohm, just tried both and they work just fine.
The change for the new behavior is just 4 lines (see https://github.com/atom/atom/pull/13664/files#diff-24f2fe2bd60cb4194c3cf7d107fa0f99L578). The bulk of this PR is tests and making it a setting that propagates correctly.