This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 98190

Summary: CVS Diff view: remote code is displayed with only basic syntax coloring
Product: utilities Reporter: kirillkh <kirillkh>
Component: DiffAssignee: Ondrej Vrabec <ovrabec>
Status: NEW ---    
Severity: blocker CC: msandor, vriha
Priority: P4    
Version: 6.x   
Hardware: PC   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description kirillkh 2007-03-19 13:04:42 UTC
1. diff a file under CVS control
2. a split pane opens
3. after a delay, the right half gets enhanced syntax coloring
4. the left part doesn't get enhanced syntax coloring, unless you click on it
[5. enhanced syntax coloring is slow, so turning it on also for the left side
will probably make the IDE stuck for a few seconds]
Comment 1 Maros Sandor 2007-03-19 14:00:32 UTC
Editor guys please evaluate, why is semantic coloring activated by clicking in
the pane? IMHO it should be active immediately. Please reassign back to diff
module if there is something to do on my side.
Comment 2 Vitezslav Stejskal 2007-03-19 22:49:12 UTC
I am not sure, perhaps Honza will know more. Obviously the coloring layer is
there, it just looks like the task for drawing semantic highlights runs only for
focused component.
Comment 3 Jan Lahoda 2007-03-20 10:47:20 UTC
I actually supposed that the "extended" features (semantic coloring, error
underlining, etc.) should not be in the left panel of the diff (or more
precisely, in all panels that do not represent current source files) at all. The
problem is that the extended features may also depend on old revisions of other
files (referenced from the current one), which are not available.

If StreamDescriptionProperty would not be set for the "left" panel, the extended
features would cease to work.

Technically speaking, it is a bug that the extended features do not work for all
visible editors, although it is quite difficult to find out which editors are
visible, especially for the diff.
Comment 4 Jiri Prox 2008-04-11 00:52:40 UTC
moving opened issues from TM <= 6.1 to TM=Dev
Comment 5 Sergey Petrov 2009-04-14 11:20:49 UTC
reproducible with 6.7m3, tried diff on mercurial repository
initially left part have basic coloring but after click it's enhanced.
Comment 6 David Strupl 2012-10-25 13:41:51 UTC
Bug prior to 7.0, not touched for the last 2 years --> P4.
Comment 7 David Strupl 2012-10-26 07:55:50 UTC
Version control, please re-evaluate.
Comment 8 Ondrej Vrabec 2013-03-24 14:09:00 UTC
*** Bug 227863 has been marked as a duplicate of this bug. ***