dreappdev opened a new issue, #6711: URL: https://github.com/apache/netbeans/issues/6711
### Apache NetBeans version Apache NetBeans 19 ### What happened When I split (or clone) an editor window, then edit something in the file, then use CTRL-Z or SHIFT-CTRL-Z to backout a typo or redo an edit, the split (or cloned) window repositions the cursor location to where the action happened. What I expected was that the split window would remain positioned wherever I had set it. Which it does while doing the edits - but not when using the CTRL-Z. ### How to reproduce Open any file to edit it. Split the editor window, either horizontal or veritical, or clone it. If you clone it, you will have to undock the cloned window to see both windows at the same time. Position the cursor in the two panes or windows in totally different locations, making sure to not show any segment of the file in both panes. Make an edit in one of the panes. The other pane will remain positioned where you just placed it. This is good. Do a CTRL-Z to undo the edit. The other pane will reposition the cursor to show the area of the file where the edit was just undone. This is not good. ### Did this work correctly in an earlier version? No / Don't know ### Operating System macOS Ventrua Version 13.5.1 ### JDK Java: 17.0.2; Java HotSpot(TM) 64-Bit Server VM 17.0.2+8-LTS-86 ### Apache NetBeans packaging Apache NetBeans provided installer ### Anything else This is a repeatable issue. Happens every time. ### Are you willing to submit a pull request? Yes -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
