This patch fixes highlighting for problems, which has incomplete finalLocation. Many checkers produce only line number in the log, which makes impossible to set correct range for problem without parsing of checked source file. To fix this case we adds LocationRangeMode methods which allows to control highlighting process for such problems.
Details
Details
- Reviewers
kfunk - Group Reviewers
KDevelop - Commits
- R33:c98bc05e659b: Fix highlighting for problems with incomplete finalLocation
R32:08f7e619b0be: IProblem: move FinalLocationMode-methods implementation into subclasses to turn…
R33:08f7e619b0be: IProblem: move FinalLocationMode-methods implementation into subclasses to turn…
R32:c98bc05e659b: Fix highlighting for problems with incomplete finalLocation
Tested on master branch with kdev-cppcheck plugin.
Results (line 63):
Original (old) behavior, ugly 1-symbol highlighting
New (improved behavior, with TrimmedLine mode
Diff Detail
Diff Detail
- Repository
- R33 KDevPlatform
- Branch
- arcpatch-D3196
- Lint
No Linters Available - Unit
No Unit Test Coverage
interfaces/iproblem.h | ||
---|---|---|
99 | Please turn IProblem into a real interface again. You need to implement the methods in the subclasses. |
Comment Actions
- Move new methods implementation into subclasses to turn IProblem into a real interface again.