Bug 9516 - [PATCH] C# binding: fix label for "shrink selection" command
Summary: [PATCH] C# binding: fix label for "shrink selection" command
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: C# Binding ()
Version: Trunk
Hardware: PC Linux
: High normal
Target Milestone: 4.0
Assignee: Mike Krüger
Depends on:
Reported: 2013-01-12 12:05 UTC by Atsushi Eno
Modified: 2013-02-07 11:49 UTC (History)
3 users (show)

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:

Description Atsushi Eno 2013-01-12 12:05:51 UTC
There is wrong copy-paste on CSharpBinding.addin.xml. 

One liner fix, should be easier by editing manually than applying patch :

atsushi@atsushi-U24A:/svn/monodevelop-master$ git diff main/src/addins/CSharpBinding/CSharpBinding.addin.xml
diff --git a/main/src/addins/CSharpBinding/CSharpBinding.addin.xml b/main/src/ad
index 55fc1cc..537291a 100644
--- a/main/src/addins/CSharpBinding/CSharpBinding.addin.xml
+++ b/main/src/addins/CSharpBinding/CSharpBinding.addin.xml
@@ -230,7 +230,7 @@
                         defaultHandler = "MonoDevelop.CSharp.ShrinkSelectionHan
                         shortcut = "Alt|Shift|Down"
                         macShortcut = "Alt|Shift|Down"
-                        _label = "_Expand selection"/>
+                        _label = "_Shrink selection"/>
        <Extension path = "/MonoDevelop/Refactoring/CodeGenerators">
Comment 1 Mike Krüger 2013-01-14 07:52:47 UTC
Comment 2 Nischal 2013-02-07 08:14:17 UTC
We are not able to get what we shall be verifying in the above issue.

Although we have followed some steps, below is the screencast for the same:

But we are not able to verify this issue. Please look into it.
Comment 3 Atsushi Eno 2013-02-07 08:54:30 UTC
Open Preference, then go to "Key Bindings" subpage in "Environment" tab.

In the right side pane, look for "expand". And you'll find one (fixed) or two (not fixed).

The actual command for that is, SHIFT+ALT+UP/DOWN to expand or shrink selection in C# source editor.
Comment 4 Nischal 2013-02-07 09:22:53 UTC
We have verified this issue with the laest builds:

MD 4.0 - 233a86f33176e03e90ab78c67ad70d68c211dcfb
MFA 4.6.00025

And we have observed that more than one option for Expand are appearing. However, for Shrink only one option is appearing.

Please let us know if we shall be changing the status to Verified, or we are supposed to reopen this issue.
Comment 5 Atsushi Eno 2013-02-07 09:25:51 UTC
As long as "expand selection" doesn't appear twice it's fixed.
Comment 6 Nischal 2013-02-07 09:30:31 UTC
Alright, so "Expand Selection" is appearing only once in the list. So this issue is Fixed.

We are not able to change the Status of this issue.