| Summary: | Commit hyperlink detector decorates the wrong characters | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Technology] EGit | Reporter: | Benjamin Muskalla <b.muskalla> | ||||
| Component: | Mylyn | Assignee: | Benjamin Muskalla <b.muskalla> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | major | ||||||
| Priority: | P3 | CC: | matthias.sohn, steffen.pingel | ||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Benjamin Muskalla
Might be a bug in the task editor highlighting code since the hyperlink was working as expected. Created attachment 202249 [details] description of bug 348237 Another example for broken text decoration is bug 348237 (see screenshot). The rendering problem on bug 348327 was caused by the changes for bug 348969 and are unrelated to the hyperlink problems. Sorry for the confusion. Moving back to EGit. Definitely looks like a problem in the hyperlink detector. The region is not reported correctly. I recommend GerritConnectorUi.findHyperlinks() as an example. Using a regexp to search the text is faster and simpler that tokenizing the entire document. Benjamin, do you think we could get this fixed for the next EGit release? I have pushed a review: https://git.eclipse.org/r/#change,5054. Would be great if this fix could be considered for a 1.3 service release. Any thoughts on the proposed change? Rebased, tested, merged. Thanks a lot Steffen! |