Details
-
Bug
-
Resolution: Fixed
-
Medium
-
2.4.1, 2.5.1
Description
I want to add extra information to annotated views of files, and to diffs using a Gutter Renderer Module.
It seems that the DiffLineDecorator works but not the LineDecorator: method LineDecorator.decorateLine(int i) is never call.
Details
I've created the GutterRenderer, the DiffLineDecorator and the LineDecorator.
- When I go on a diff page:
- GutterRenderer.getAnnotationDecorators(DiffType diffType, String repository, String fromPath, String fromRev, String toPath, String toRev) is called, a single element list of DiffLineDecorator is returned
- DiffLineDecorator.decorateLineXXX(...) is called
- The gutter is visible with the html specified in decorateLineXXX methods.
- When I go on an annotated file:
- getAnnotationDecorators(String repository, String path, String rev) is called, a single element list of LineDecorator is returned
- LineDecorator.decorateLine(...) is never call
- The gutter is not present on the file