Friday, October 28, 2022

New feature preview: Selection color options

One of the editor improvements is the ability to customize the painting of text selection.  The default option now is the alpha blending of the selection color with the background.

Selection in previous versions:

Before

Current default selection painting (alpha blending):

Current

 

In previous versions, when a whole line is selected, the full line from the left to the right border was highlighted.  Now you have the option to highlight just the text.  This matches the behavior of other editors such as VS Code.

This is how it looks:

partial

 

The above options are controlled via Tools, Options, IDE Options, Editor, Selection Color:

Options

To get the the old behavior, set Alpha to 1 and check FillWholeLines.  You can also change the selection colors.  In addition to picking a color from the drop-down list, you can also type a hexadecimal value (e.g. $3399FF)

No comments: