Bug 574139 - URLHyperlinkDetector: scheme:// is not a hyperlink

Make the behavior more consistent between handling quoted and unquoted
URLs:

  https://

would not give a hyperlink, but

  "https://" or "https:// "

would.

Change the code to not produce hyperlinks for the latter two.

Change-Id: I17f6c16fd96ada810bfc4f635e9d03e8cf5f596b
Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
Reviewed-on: https://git.eclipse.org/r/c/platform/eclipse.platform.text/+/181809
Tested-by: Platform Bot <platform-bot@eclipse.org>
Reviewed-by: Mickael Istria <mistria@redhat.com>
2 files changed