brackets-compare icon indicating copy to clipboard operation
brackets-compare copied to clipboard

Add save feature

Open bomsy opened this issue 8 years ago • 4 comments

Add save feature to merge addon.

bomsy avatar Apr 26 '16 21:04 bomsy

Add on line 158 of main.js:

MainViewManager.setActivePaneId(panes[0]) var document = DocumentManager.getCurrentDocument() document.setText(compareView.editor().getValue())

M4TH76 avatar Apr 04 '17 20:04 M4TH76

Thanks for this solution! It may be worth adding it to the master branch for users who install the extension directly from Brackets.

Moustachey avatar Oct 18 '17 23:10 Moustachey

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?

nlourenco avatar Sep 21 '18 20:09 nlourenco

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.

YogieAnamCara avatar Nov 02 '18 06:11 YogieAnamCara