brackets-compare
brackets-compare copied to clipboard
Add save feature
Add save feature to merge addon.
Add on line 158 of main.js:
MainViewManager.setActivePaneId(panes[0]) var document = DocumentManager.getCurrentDocument() document.setText(compareView.editor().getValue())
Thanks for this solution! It may be worth adding it to the master branch for users who install the extension directly from Brackets.
Add on line 158 of main.js:
MainViewManager.setActivePaneId(panes[0]) var document = DocumentManager.getCurrentDocument() document.setText(compareView.editor().getValue())
Done, to no affect.
Is the intended use of this extension to only be a read-only comparison?
I do have the same issue, I can compare, copy the changes to the file (left) but then when turning off compare changes are not saved.