How do you close the GNU-Octave editor programmatically in Windows?
Either the whole editor or a specific .m file being edited.
Related
please help, I accidentally removed a huge portion of my codes in Google Script and accidentally saved it. Is there any way I can "Undo" and I get my previous version back?
Try this:
In the script editor, click Use legacy editor.
In the left-hand pane, click the name of the script file you want to restore.
Choose File > See version history.
Select the version you want to restore.
Click Restore.
Alternatively, use the revision history list to copy the code of the version you want to keep and paste it elsewhere.
To return to the new Monaco editor, click Use new editor.
I've been switched over to the new Google Apps Script IDE.
If I have multiple .gs and html files in one script document I used to be able to make changes on a file a close that without saving. Now the tabs are no more and you click directly on the filename and all you can do is undo until the file is reverted.
Is there a way to revert in one step?
thanks
The new code editor has no way to close an unsaved files' edit session. There is no good way to revert back to the last saved content. The only option you have is to close or refresh the browser tab. If you close or refresh the browser tab and you have other unsaved open file sessions that you want saved, then make sure to save the ones you want.
Is there any shortcut for opening script task editor (c# editor) in BIDS/SSIS? This will save me from right clicking the script task, then click on "edit.." and then click on "edit script.."
Whenever I refresh a spreadsheet (after having changed some of its Apps Scripts code) with CMD - R, Safari closes the script editor tab automatically.
How can I avoid that this tab is being closed?
Make an edit in the script, but don't save. Refresh the spreadsheet. The tab with the script will ask you if you want to close the tab, so say no. It won't close on you anymore after that.
Also, you can use Tools > Script Manager from the spreadsheet to run functions, or even run them directly from the script editor if you don't want to refresh.
I am trying to copy this source http://pastebin.com/s7v5x4jk to a file a in a Google Script project for a spreadsheet. The problem is that not all the text gets copied when I do a copy and paste. Is there a way to upload files to Script Projects or to get around this?
How to replicate:
Open a Google Spreadsheet, go to Tools->Script Editor and create a new project, try to copy all the text to the file.
You've got one very long line, perhaps that's overwhelming the editor. (There are 132000+ characters in line 10.)
You will able to paste the code into an Apps Script file by putting it through a prettifier first. A better alternative would be to use the development version, which isn't minified.