Re: [sc-users] search Help files/w3m E

View: New views
1 Messages — Rating Filter:   Alert me  

Parent Message unknown Re: [sc-users] search Help files/w3m E

by Scott Wilson-8 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hey Dan,

This is indeed nice. I'd been thinking if a simple solution would be  
to enable Spotlight support (especially as we seem to have that search  
field in the Help menu forced on us in Leopard; can you turn that  
off?), but cross platform-ness is nice.

One thought: The sorting seems a little random, although I do like  
'goodness' as a criterion, perhaps it could be enhanced. :-) (Actually  
this could be very useful for things like competitions:  
MyPiece.goodness <= OtherPiece.goodness). I think it'd be worth  
thinking about categories. You could have 'sort by  
categories' (amongst other things such as straight alphabetical), and  
perhaps even integrate the search and browser GUIs? Or have an option  
to browse search results? Perhaps with search text highlighted in the  
preview a la Safari 3?

IAC, it seems amazing that nobody's done this until now!

Thanks,

S.



On 5 May 2008, at 15:34, LFSaw wrote:

> nice work, dan; how about generalizing it to non-help documents? (you
> know, I have lotsof stuff in the sc wiki structure... :-)
>
> regards
> Till
>
> On 05.05.2008, at 15:08, Dan Stowell wrote:
>
>> OK - I've added a tweak (svn rev 7543) to which may help. May still
>> need work though, let us know.
>>
>> Dan
>>
>>
>> 2008/5/5 sh0099 <sh0099@...>:
>>> whith Help.searchGUI the E Option in w3m does not work (generate a
>>> plain
>>> text helpfile) ... any idea?
>>>
>>> thanks
>>> olaf
>>>
>>>
>>>
>>>
>>>
>>> sh0099 wrote:
>>>> works for me
>>>>
>>>> use ubuntustudio
>>>> revision 7543
>>>> with swingosc from the last release-with-optionals
>>>>
>>>>
>>>>
>>>>
>>>> Björn Kessler wrote:
>>>>
>>>>> Sorry Dan, but that doesn't work for me. I'm on Ubuntustudio,
>>>>> Rivision 7643. This is the errormessage (tell me if i did
>>>>> somethin wrong!):
>>>>>
>>>>> ERROR: Message 'new' not understood.
>>>>> RECEIVER:
>>>>>  nil
>>>>> ARGS:
>>>>> Instance of JSCWindow {    (B7951A50, gc=E4, fmt=00, flg=00,
>>>>> set=04)
>>>>> instance variables [16]
>>>>>   dataptr : Integer 1003
>>>>>   name : "<< Search SC Help >>"
>>>>>   onClose : nil
>>>>>   view : instance of JSCTopView (B78F6160, size=30, set=5)
>>>>>   userCanClose : true
>>>>>   alwaysOnTop : false
>>>>>   drawHook : nil
>>>>>   acceptsMouseOver : false
>>>>>   acceptsClickThrough : true
>>>>>   server : instance of SwingOSC (B77FF860, size=20, set=5)
>>>>>   id : Integer 1003
>>>>>   bounds : instance of Rect (B78B9610, size=4, set=2)
>>>>>   acResp : instance of OSCpathResponder (B6F8B800, size=5, set=3)
>>>>>   penID : nil
>>>>>   visible : false
>>>>>   border : true
>>>>> }
>>>>> Instance of Rect {    (B78BC770, gc=E0, fmt=00, flg=00, set=02)
>>>>> instance variables [4]
>>>>>   left : Integer 0
>>>>>   top : Integer 50
>>>>>   width : Integer 600
>>>>>   height : Integer 550
>>>>> }
>>>>> CALL STACK:
>>>>>       DoesNotUnderstandError:reportError   B6F98EE0
>>>>>               arg this = <instance of DoesNotUnderstandError>
>>>>>       Nil:handleError   B6F98DC0
>>>>>               arg this = nil
>>>>>               arg error = <instance of DoesNotUnderstandError>
>>>>>       Thread:handleError   B6F98D00
>>>>>               arg this = <instance of Thread>
>>>>>               arg error = <instance of DoesNotUnderstandError>
>>>>>       Object:throw   B6F972C0
>>>>>               arg this = <instance of DoesNotUnderstandError>
>>>>>       Object:doesNotUnderstand   B6F91D40
>>>>>               arg this = nil
>>>>>               arg selector = 'new'
>>>>>               arg args = [*2]
>>>>>       Meta_Help:searchGUI   B6F42180
>>>>>               arg this = class Help
>>>>>               var win = <instance of JSCWindow>
>>>>>               var qbox = <instance of JSCTextField>
>>>>>               var resultsview = nil
>>>>>               var results = nil
>>>>>               var winwidth = 600
>>>>>       Interpreter:interpretPrintCmdLine   B6F51750
>>>>>               arg this = <instance of Interpreter>
>>>>>               var res = nil
>>>>>               var func = <instance of Function>
>>>>>               var code = "
>>>>> Help.searchGUI;
>>>>> "
>>>>>       Process:interpretPrintCmdLine   B6F8C4C0
>>>>>               arg this = <instance of Main>
>>>>>
>>>>>
>>>>> Best regards,
>>>>>
>>>>> Björn
>>>>>
>>>>> --- Dan Stowell <danstowell@...> schrieb am Mo, 5.5.2008:
>>>>>
>>>>>
>>>>>
>>>>>> Von: Dan Stowell <danstowell@...>
>>>>>> Betreff: [sc-users] New facility to search Help files
>>>>>> An: sc-devel@..., "SuperCollider users mailing list"
>>>>>> <sc-users@...>
>>>>>> Datum: Montag, 5. Mai 2008, 13:21
>>>>>> Hi -
>>>>>>
>>>>>> Prompted by some of the recent interesting discussion over
>>>>>> SC
>>>>>> usability, I added a feature to search Help files. It's
>>>>>> in SVN (rev
>>>>>> 7541, 7542). You can run
>>>>>>
>>>>>>  Help.searchGUI
>>>>>>
>>>>>> to pop up the GUI. It's crossplatform too! No naughty
>>>>>> mac-specific-ness here :)
>>>>>>
>>>>>> As part of this, I created a new primitive to strip HTML
>>>>>> quickly down
>>>>>> to plain-text, String:stripHTML.
>>>>>>
>>>>>> Comments welcome. It's fairly basic (e.g. search is
>>>>>> simple
>>>>>> string-matching) but hopefully useful.
>>>>>>
>>>>>> Dan
>>>>>>
>>>>>> --
>>>>>> http://www.mcld.co.uk
>>>>>> _______________________________________________
>>>>>> sc-users mailing list
>>>>>> sc-users@...
>>>>>> http://lists.create.ucsb.edu/mailman/listinfo/sc-users
>>>>>>
>>>>>>
>>>>>     Lesen Sie Ihre E-Mails jetzt einfach von unterwegs.
>>>>> www.yahoo.de/go
>>>>> _______________________________________________
>>>>> sc-users mailing list
>>>>> sc-users@...
>>>>> http://lists.create.ucsb.edu/mailman/listinfo/sc-users
>>>>>
>>>>>
>>>>>
>>>>
>>>> _______________________________________________
>>>> sc-users mailing list
>>>> sc-users@...
>>>> http://lists.create.ucsb.edu/mailman/listinfo/sc-users
>>>>
>>>>
>>>
>>> _______________________________________________
>>> sc-users mailing list
>>> sc-users@...
>>> http://lists.create.ucsb.edu/mailman/listinfo/sc-users
>>>
>>
>>
>>
>> --
>> http://www.mcld.co.uk
>> _______________________________________________
>> sc-users mailing list
>> sc-users@...
>> http://lists.create.ucsb.edu/mailman/listinfo/sc-users
>
> _______________________________________________
> sc-users mailing list
> sc-users@...
> http://lists.create.ucsb.edu/mailman/listinfo/sc-users

_______________________________________________
Sc-devel mailing list
Sc-devel@...
http://lists.create.ucsb.edu/mailman/listinfo/sc-devel