Bug 4785 - URL underlining is one character off
Summary: URL underlining is one character off
Status: RESOLVED NOT_REPRODUCIBLE
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Text Editor ()
Version: 2.8.6
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Mike Krüger
URL:
Depends on:
Blocks:
 
Reported: 2012-04-30 22:11 UTC by James Bellinger
Modified: 2012-05-01 09:09 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 NOT_REPRODUCIBLE

Description James Bellinger 2012-04-30 22:11:30 UTC
When MonoDevelop is highlighting a URL, the underline is one character off.
Specifically, if I type, it underlines:

<http://www.example.com>
----------------------

It should underline:

<http://www.example.com>
 ----------------------

This occurs in the version of MonoDevelop present in Ubuntu 12.04 - 2.8.6.3.
Comment 1 James Bellinger 2012-04-30 22:12:07 UTC
If it makes any difference at all, it's the 32-bit x86 version.
Comment 2 James Bellinger 2012-04-30 22:15:33 UTC
Ah, another detail...
It works correctly in comments (green highlight).
Where it fails is inside strings (magenta highlight).
I am seeing this in AssemblyInfo.cs in particular.
Comment 3 James Bellinger 2012-04-30 22:18:39 UTC
Even more detail...
It works inside strings, UNLESS they contain a character high on Unicode (multibyte UTF-8 issue?).

I tested it with the copyright symbol and got one character off.
Some Malayan character I tried in Character Map made it two characters off.
Comment 4 Mike Krüger 2012-05-01 09:09:18 UTC
Works in master.