Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
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
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.
Description of Problem:
- Selecting text and using Command-E (to insert the selected text into the search buffer) has errors if the selected text contains special characters, such as a parentheses. When text is added to the search buffer, that text should be escaped. The same thing occurs with Command-F (Ctrl+F for Windows) as well.
Steps to reproduce the problem:
1. Copy this line of text (including this text inside parentheses) into the editor, then highlight the entire line.
2. Hit Command-F (or Ctrl+F on Windows) to see the "Find" dialogue open
3. Notice the text displays "Not found", and Command-G (goto next search result) is ineffective.
- Search cannot continue as the '(' (or any other special character) cannot be found without being escaped with a backslash: '\('
- The search buffer should escape the current text. This should probably happen with the replacement buffer as well, since an ampersand '&' in most grep or sed implementations means "entire contents of the search pattern" but selecting text with that ampersand and selecting it as the replacement text would be interpreted as "include the ampersand in the result, not the entire search string".
How often does this happen?