[Pydev-code] Code folding problem
Brought to you by:
fabioz
From: Aleks T. <a...@to...> - 2004-09-24 00:46:48
|
Hi Fabio, before making a new release, I was going through a list of all the open bugs. There is 1 where I need your help: It is [ 998497 ] 0.5.3 breaks hyperlinking and highlighting of current line I've fixed the hyperlinking bit, but when I try to fix highlight of current line & showing of the print margin, I break code folding. This is what I've done: - Current line highlight & print margin were not displayed because PyEdit was lacking a sourceViewerDecorator. When I fix this by doing: PyEditProjection.java: changed: protected ISourceViewer createSourceViewer(Composite parent, IVerticalRuler ruler, int styles) { return new PySourceViewer(parent, ruler, getOverviewRuler(), true, styles, this); to: ISourceViewer viewer = new PySourceViewer(parent, ruler, getOverviewRuler(), true, styles, this); getSourceViewerDecorationSupport(viewer); // make sure we get decoration support return viewer; The folding arrows are no longer visible. Any clues how might we be able to have folding & line highlight/print margins at the same time? It seems like some annotation provider conflict, the class names make me dizzy trying to figure it out. I did not check in this change. Once this is resolved, we'll be ready to release. Aleks |