tmhglnd / mercury

A minimal and human-readable language and environment for the live coding of algorithmic electronic music.
http://www.timohoogland.com/mercury-livecoding
GNU General Public License v3.0
304 stars 13 forks source link

File -> New #18

Closed GuillemGongora closed 4 years ago

GuillemGongora commented 4 years ago

Menu button File -> New does nothing, maybe should clear the console

tmhglnd commented 4 years ago

Good idea. I at first let it do nothing since I don't want to add an extra editor for example. But clearing the editor might be a good idea, although also potentially confusing for those who expect an extra window to be opened.

GuillemGongora commented 4 years ago

Opening a new console is indeed an interesting idea, but also I find myself wanting to clear the whole console to try out new things. Maybe another option could be added to do so.

tmhglnd commented 4 years ago

This is now included as an option under File > Clear All Code. When clicking it gives you a pop-up window asking "Are you sure?". Since the editor has no history you will lose all the code typed if you answer the pop-up window with y or yes.