Click on marker in Problems View jumps to different marker [message #507477] |
Wed, 13 January 2010 10:49  |
Eclipse User |
|
|
|
Hi!
I wrote an Eclipse plugin that checks C source code for violations of a set of coding style rules. If such a violation is found, a marker (class IMarker) is created to indicate the line number and the file that contains this violation. All of these markers are displayed in the Eclipse's Problems View.
Now, if one line in a file has several markers, and the user double-clicks one marker, the source code editor jumps to the concerned line of source code (which is OK) and the Problems View jumps to another marker of the same line (which is not OK).
An example:
If the user double clicks ProblemA in the Problems View, the source code editor jumps to the source code location and the Problems View jumps to ProblemB.
ProblemA and ProblemB point to same line in the same file.
How can I make the Problems View not jump to another marker when clicking one?
My Eclipse version is 3.5.
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03532 seconds