Bug 18535 - Highlight current line option makes difficult to recognize actual selected lines
Summary: Highlight current line option makes difficult to recognize actual selected lines
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Text Editor ()
Version: 4.2.x
Hardware: PC Windows
: Low enhancement
Target Milestone: Future Cycle (TBD)
Assignee: Vsevolod Kukol
Depends on:
Reported: 2014-03-22 13:09 UTC by pinggi
Modified: 2017-03-07 11:18 UTC (History)
4 users (show)

Is this bug a regression?: ---
Last known good build:

hidden cursor and current line highlighting (21.48 KB, image/png)
2014-03-22 13:09 UTC, pinggi

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report for Bug 18535 on Developer Community or GitHub if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: Developer Community HTML or GitHub Markdown
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:

Description pinggi 2014-03-22 13:09:34 UTC
Created attachment 6388 [details]
hidden cursor and current line highlighting

I set my own color theme in the Xamarin Studio. The background color of selected lines is almost the same as the background color of the highlighted current line (the line where the cursor is currently placed).

The problem occurs when I select several lines. The last line looks like selected but it is not selected only highlighted. It is caused by the "highlight current line" feature checked in the options. It is fine to have it checked because the highlighted current line helps to quickly find the line where the cursor is currently placed. However the Xamarin Studio does not allow to turn it of when the text is selecting.

Could you please disable the current line highlighting when you are in the selection mode? Or just add an option to allow it. The text selection would be clearer for users then.

There is also problem with the cursor. It is hidden when the text is selecting. It would be better to show it to allow users to predict where the cursor will move after arrow keys are pressed which causes deselection of the text.
Comment 1 Mike Krüger 2014-03-24 10:24:46 UTC
@David: I think the theme was oblivion.
Comment 2 pinggi 2014-08-07 15:36:33 UTC
It would be enough to just turn off "Highlight current line" checkbox in the settings when text is selected and turn it on when there is no selection.

Is it hard to implement that?
Comment 3 Vsevolod Kukol 2017-03-07 11:18:56 UTC
It shouldn't be hard to implement. I think we should do it at some point.