Bug 5961 - [UIRefresh] Highlight lines with linked regions on line number margin
Summary: [UIRefresh] Highlight lines with linked regions on line number margin
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: C# Binding ()
Version: Trunk
Hardware: PC Mac OS
: Normal enhancement
Target Milestone: ---
Assignee: Mike Krüger
URL:
Depends on:
Blocks:
 
Reported: 2012-07-03 09:33 UTC by Marek Safar
Modified: 2012-07-05 14:08 UTC (History)
1 user (show)

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

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 on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Marek Safar 2012-07-03 09:33:45 UTC
When refactoring/renaming field in a class all occurrences should also have highlighted row (like in most text editors).
Comment 1 Mikayla Hutchinson [MSFT] 2012-07-03 11:11:20 UTC
What do you mean by "row selection"? Do you have a screenshot of some other editor doing this?
Comment 2 Marek Safar 2012-07-03 11:41:56 UTC
http://screencast.com/t/ocj00HdggTab
Comment 3 Mikayla Hutchinson [MSFT] 2012-07-03 11:59:56 UTC
The screenshot appears to show a marker on the line number margin during an incremental find operation, to indicate which rows have result. We could implement this, but it's an enhancement and it's not a very common feature - I've never seen an editor do it.

And the feature request is for MonoDevelop to do a highlight like this during an inline rename operation, when we create linked regions to make all of the occurrences editable simultaneously.

Is this an accurate description?
Comment 4 Marek Safar 2012-07-03 12:10:07 UTC
Just to clarify,this is not for find but replace. MD can do inline replace only with cmd+r (or at least I don't know about others)
Comment 5 Mike Krüger 2012-07-05 04:11:04 UTC
Implemented in ui refresh.

@Mhutch: That screenshot is for the sublime 'text link' mode. They've multi carets to solve that problem and these markers mark the current caret line.

The multi caret solution is a good one as well - but I think our text link modes are a better one, but atm our implementation is a bit limited atm. (multi line links are not possible atm)
Comment 6 Mikayla Hutchinson [MSFT] 2012-07-05 14:08:47 UTC
Okay, so if I understand this correctly, it's two things:
1) replace the full-width "current line" marker with a marker in the margin
2) show the "current line" marker for each line that has a caret or text link

Is that a fair description?