| Priority |
Normal |
| Type | Bug |
| State | Fixed |
| Assignee | Maxim Mossienko |
| Subsystem | Plugin Support. API |
| Affected versions |
No affected versions
|
| Fixed in |
No fix versions
|
| Fixed in build |
Next build |
| Build |
7549
|
| Fixed in build |
7601
|
| Subsystems |
0, 0
|
IDEA-42058 |
XML validation result displays incorrect line- and column numbers |
|
|
I'm not running the validator but using the message view to display messages when converting schemas between RNG, XSD, etc. with Trang.
Exact message from Xerces validator is not used for Message View
If you're going to add 1 in in the create*Prefix methods, make sure you update their usages from com.intellij.openapi.vcs.impl.AbstractVcsHelperImpl as well ;)
Why didn't you fix it as suggested in com.intellij.ide.errorTreeView.ErrorViewStructure#addMessage? That code is in fact broken because it uses the same numbers for both display and navigation which will always cause a one-off error.
This would have solved the issue without accidentally changing the icon and would have also fixed any other uses of com.intellij.ide.errorTreeView.NewErrorTreeViewPanel#addMessage - including mine. :(
Isn't it amazing how much trouble a simple +/- 1 problem can cause? :)