[Swingosc-devel] JSCTextView addition
Brought to you by:
sciss
From: nescivi <ne...@gm...> - 2008-03-23 22:39:49
|
Hiho, I just committed the diff below. sincerely, marije Index: trunk/SuperCollider/SCClassLibrary/SwingOSC/JSCViews1.sc =================================================================== --- trunk/SuperCollider/SCClassLibrary/SwingOSC/JSCViews1.sc (revision 62) +++ trunk/SuperCollider/SCClassLibrary/SwingOSC/JSCViews1.sc (working copy) @@ -2254,6 +2254,11 @@ // XXX update client send string rep. } + open{ arg path; + path = path.replace( ' ', '%20' ); + this.openURL( "file://"++path ); + } + defaultKeyDownAction { arg key, modifiers, unicode; // check for 'ctrl+enter' = interprete if( (unicode == 0x0D) and: { ((modifiers & 0x40000) != 0) && enterInterpretsSelection }, { |