Re: [Swingosc-devel] [ok-to-commit?] open, openURL
Brought to you by:
sciss
From: nescivi <ne...@gm...> - 2009-01-04 19:14:12
|
Hi again, no... the problem is on the Java side. in HyperLinkResponder.java line 79 e.getURL() returns a file link with only one / in the string, so file:/blahblah sincerely, Marije On Sunday 04 January 2009 13:49:16 nescivi wrote: > Hiho, > > On Sunday 04 January 2009 11:24:16 nescivi wrote: > > On Saturday 03 January 2009 17:34:59 Sciss wrote: > > > ok! i mean are the WARNING thingees still there when you click on a > > > link in the help browser? > > > > I don't see WARNING thingies. > > > > But do you mean links from the help files displayed in JSCTextView? > > These still don't work. > > ah, I forgot to do a scons install. > > moving this to sc-dev, as I don't think the problem is in swing. > > > sincerely, > Marije > > > The links from the columns on the right don't post warnings. > > > > sincerely, > > Marije > > > > > Am 03.01.2009 um 23:32 schrieb nescivi: > > > > On Saturday 03 January 2009 14:40:01 Sciss wrote: > > > >> i assume you have tested it works as expected and will provide the > > > >> same behaviour as SCTextView? if so, no problem, go ahead! > > > > > > > > I can't test the same behaviour as SCTextView, but it works and is as > > > > conferred with Scott on the sc-dev list. > > > > > > > > sincerely, > > > > Marije > > > > > > > >> ciao, .h.h. > > > >> > > > >> Am 03.01.2009 um 04:16 schrieb nescivi: > > > >>> Hiho, > > > >>> > > > >>> following the discussion today with Scott... > > > >>> ok to commit this? > > > >>> > > > >>> sincerely, > > > >>> Marije > > > >>> > > > >>> Index: SuperCollider/SCClassLibrary/SwingOSC/JSCViews1.sc > > > >>> =================================================================== > > > >>> --- SuperCollider/SCClassLibrary/SwingOSC/JSCViews1.sc (revision > > > >>> 131) > > > >>> +++ SuperCollider/SCClassLibrary/SwingOSC/JSCViews1.sc (working > > > >>> copy) > > > >>> @@ -2314,7 +2314,12 @@ > > > >>> path = path.tr($\\, $/); > > > >>> }); > > > >>> path = path.replace( ' ', '%20' ); > > > >>> - this.openURL( "file://"++path ); > > > >>> + > > > >>> + if ( path.contains( "://" ).not, { > > > >>> + if ( path.first.asString != "/" ) { path = > > > >>> String.scDir +/+ path; }; > > > >>> + path = "file://"++path; > > > >>> + }); > > > >>> + this.openURL( path ); > > > >>> } > > > >>> > > > >>> defaultKeyDownAction { arg key, modifiers, unicode; > > > >>> > > > >>> ------------------------------------------------------------------- > > > >>>- -- > > > >>> -------- > > > >>> _______________________________________________ > > > >>> Swingosc-devel mailing list > > > >>> Swi...@li... > > > >>> https://lists.sourceforge.net/lists/listinfo/swingosc-devel > > > > ------------------------------------------------------------------------- > >-- --- _______________________________________________ > > Swingosc-devel mailing list > > Swi...@li... > > https://lists.sourceforge.net/lists/listinfo/swingosc-devel > > --------------------------------------------------------------------------- >--- _______________________________________________ > Swingosc-devel mailing list > Swi...@li... > https://lists.sourceforge.net/lists/listinfo/swingosc-devel |