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 210075 - [72cat] Diff for changed lines applies incorrect syntax highlighting ignoring JavaDoc context
Summary: [72cat] Diff for changed lines applies incorrect syntax highlighting ignoring...
Status: NEW
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Mercurial (show other bugs)
Version: 7.2
Hardware: PC Windows 7 x64
: P4 normal (vote)
Assignee: Ondrej Vrabec
Depends on:
Reported: 2012-03-26 08:30 UTC by crazyjavahacking
Modified: 2012-03-26 08:30 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:

bug proof (12.43 KB, image/png)
2012-03-26 08:30 UTC, crazyjavahacking

Note You need to log in before you can comment on or make changes to this bug.
Description crazyjavahacking 2012-03-26 08:30:36 UTC
Created attachment 117227 [details]
bug proof

It looks like if you change a code under Mercurial and then see the diff for current line, it treats the diff syntax highlighting without context.

To be more clear, if I have a following code:
 * (if it isn't null) and error output will be written to given error Writer

and I will change the line (removing 'and'), it will treat the diff without context (part of JavaDoc) highlighting if as keyword, ...