Bug 574120 - URLHyperlinkDetector: detect leading stop characters

If a scheme is followed immediately by stop characters after "://",
URLHyperlinkDetector wrongly computed hyperlink regions. Handle
this case.

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