Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 567708

Summary: Opening an XML file from command line at a specific line number
Product: [Eclipse Project] Platform Reporter: Jacques Le Roux <jacques.le.roux>
Component: IDEAssignee: Platform-UI-Inbox <Platform-UI-Inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: Lars.Vogel, sebastian.ratz, thatnitind
Version: 4.18   
Target Milestone: 4.19 M3   
Hardware: PC   
OS: Windows 7   
See Also: https://bugs.eclipse.org/bugs/show_bug.cgi?id=305336
https://git.eclipse.org/r/c/platform/eclipse.platform.ui/+/170672
https://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=63f3f53af49479f24982b3a2ec37ca6e102ea3f9
Whiteboard:
Bug Depends on:    
Bug Blocks: 569282    

Description Jacques Le Roux CLA 2020-10-08 06:43:46 EDT
Opening an Java file from command line at a specific line number works but not for an XML file
Comment 1 Nitin Dahyabhai CLA 2020-10-12 09:12:14 EDT
As I mentioned in bug 305336 comment 45, it doesn't appear that editors have any way to help in this situation; the current implementation only works with plain text editors as DelayedEventsProcessor is calling the editor class' methods by reflection.
Comment 2 Eclipse Genie CLA 2020-10-12 15:37:26 EDT
New Gerrit change created: https://git.eclipse.org/r/c/platform/eclipse.platform.ui/+/170672
Comment 4 Sebastian Ratz CLA 2021-01-13 05:20:12 EST
Thanks, Nitin!