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 268684 - Editor= editing location inconsistent in .groovy file.
Summary: Editor= editing location inconsistent in .groovy file.
Status: NEW
Alias: None
Product: ide
Classification: Unclassified
Component: Code (show other bugs)
Version: 8.2
Hardware: PC Windows 10
: P3 normal (vote)
Assignee: issues@ide
Depends on:
Reported: 2016-10-26 03:42 UTC by aplatypus
Modified: 2016-10-26 03:42 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:

IDE log (205.22 KB, text/plain)
2016-10-26 03:42 UTC, aplatypus

Note You need to log in before you can comment on or make changes to this bug.
Description aplatypus 2016-10-26 03:42:11 UTC
Product Version = NetBeans IDE 8.2 (Build 201609300101)
Operating System = Windows 10 version 10.0 running on amd64
Java; VM; Vendor = 1.8.0_102
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.102-b14

Reproducibility: Happens every time

  * Open a Groovy file (at least 300 lines)
  * Open a Java file.
  * Clone the Java file window (at least 300 lines)
  * Clone the Groovy file 

 -- Now have 4 x editor windows  Groovy.1 and Groovy.2, Java.1 and Java.2

  * Navigate and edit near the end of the Groovy.1 window
  * In the Groovy.2 window edit in the middle of the file

  * Navigate and edit near the end of the Java.1 window
  * In the Java.2 window edit in the middle of the file

  After some time Both of the Groovy windows put the cursor on the SAME line 
  Instead of keeping a separate edit context for each.
  Further sometimes one of the Groovy windows may jump at random in response to a paste or cut instructiion.

  As far as I know Java windows Keep things in the correct location on Netbeans 8.1  I am not sure yet if the Java windows jump around like this on 8.2 (yet).  
  As there have been some odd occurences.

  This is definitely confirmed for Groovy.

  The edit location and cursor should be independent in EACH open window.

  The reason to use multiple windows in a long file is to be able to view different and related areas at the same time.
  This behaviour causes errors, lots time and now and again bugs because we didn't see we pasted or typed to the wrong part of the file.
Comment 1 aplatypus 2016-10-26 03:42:17 UTC
Created attachment 162642 [details]
IDE log