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 258251

Summary: problems with Line Wrap turned ON
Product: editor Reporter: Vladimir Voskresensky <vv159170>
Component: Painting & PrintingAssignee: Miloslav Metelka <mmetelka>
Status: NEW ---    
Severity: normal CC: ovrabec
Priority: P3    
Version: 8.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: working line-wrapping
only left pane is wrapped

Description Vladimir Voskresensky 2016-03-05 01:16:51 UTC
When Line Wrap is turned ON then only left panel of diff view is wrapping lines while right side panel doesn't wrap.
This inconsistency cause usability issue to see changed line, because changed lines are not in sync anymore when scroll diff view
Comment 1 Ondrej Vrabec 2016-04-01 13:36:46 UTC
Created attachment 159086 [details]
working line-wrapping
Comment 2 Ondrej Vrabec 2016-04-01 13:38:33 UTC
Seems to work for me in dev builds. But I think wrapping in diff tools should be turned off. It does not make any sense to me, it's very hard to realize the actual differences with the line-wrapping on.
Milo, could that be turned-off for diff views somehow?
Comment 3 Vladimir Voskresensky 2016-04-01 13:46:25 UTC
Created attachment 159088 [details]
only left pane is wrapped

Created attachment 159087 [details]
only left pane is wrapped

Still reproducible for HG in:
Product Version: NetBeans IDE Dev (Build 20160401-276710bb7b4c)
Java: 1.8.0_72; Java HotSpot(TM) 64-Bit Server VM 25.72-b15
Runtime: Java(TM) SE Runtime Environment 1.8.0_72-b15
System: SunOS version 5.11 running on amd64; UTF-8; en_US (nb)
User directory: /export/home/vv159170/.netbeans/dev
Cache directory: /tmp/nb_cache_dev
Comment 4 Vladimir Voskresensky 2016-04-01 13:46:45 UTC
Interesting: if I use Tools->Diff to compare two files => both panes are not wrapped