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 262498

Summary: Split document doesn't allow typing in separate locations
Product: editor Reporter: _ gtzabari <gtzabari>
Component: Painting & PrintingAssignee: Miloslav Metelka <mmetelka>
Status: NEW ---    
Severity: normal CC: markiewb
Priority: P3    
Version: 8.2   
Hardware: PC   
OS: Windows 10 x64   
Issue Type: DEFECT Exception Reporter:

Description _ gtzabari 2016-06-21 04:49:05 UTC
Product Version: NetBeans IDE Dev (Build 201606200002)
Java: 1.8.0_92; Java HotSpot(TM) 64-Bit Server VM 25.92-b14
Runtime: Java(TM) SE Runtime Environment 1.8.0_92-b14
System: Windows 10 version 10.0 running on amd64; Cp1252; en_CA (nb)
User directory: C:\Users\Gili\AppData\Roaming\NetBeans\dev
Cache directory: C:\Users\Gili\AppData\Local\NetBeans\Cache\dev

I'm pretty sure there is a regression in the handling of split documents.

Repro steps:
1. Split a document vertically.
2. Position the caret of the top document at the top of the file.
3. Position the caret of the bottom document at the bottom of the file.
4. Type a character in either window.
5. Notice that the caret position of the other document gets reset to the caret position of the current document.

Expected behavior: Users should be able to type in one document without modifying the caret or scroll position of the other document.
Comment 1 Milutin Kristofic 2016-07-18 12:46:40 UTC
Mila can you look at this, maybe it is caused by Multicaret implementation. Thank you.