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 270382 - Diff engine is not matching brackets properly
Summary: Diff engine is not matching brackets properly
Status: NEW
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: History (show other bugs)
Version: 8.2
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Ondrej Vrabec
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-12 16:35 UTC by francis.chiss
Modified: 2017-04-12 16:35 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot explaining the problem (16.36 KB, image/png)
2017-04-12 16:35 UTC, francis.chiss
Details

Note You need to log in before you can comment on or make changes to this bug.
Description francis.chiss 2017-04-12 16:35:53 UTC
Created attachment 164094 [details]
Screenshot explaining the problem

When looking at a diff view (History tab) where multiple brackets are following each other, it looks like the underlying diff engine is getting confused with which bracket matches with which line.

Attached picture explains it much better.

This causes an alignment problem when reverting changes, brackets are not were they used to be before.