Opening an XML resource that is already open duplicates the contents
Closed this issue · 0 comments
keith-hall commented
If you open an XML resource that is already open (from a sublime-package file, but not yet saved as an override), it correctly switches to the open tab, but it duplicates the contents of the file.
Example with Batch File/Comments.tmPreferences
:
Preferences
->Browse Packages
- Ensure there is no
Batch File
folder (i.e. delete it if there is one) - Switch back to ST3
- Open Command Palette
- Type
PRV: O
and selectPackage Resource Viewer: Open Resource
- Select
Batch File
- Select
Comments.tmPreferences
- Repeat the previous step. The XML is duplicated each time.
Tested on ST3 builds 3114 and 3118 on Linux and Windows.