Hi
What's the equivalent of html attributeAt: 'enctype' put: 'multipart/form-data'. using WARenderCanvas instead of WAHtmlRenderer? Thanks, JP _______________________________________________ Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
> html attributeAt: 'enctype' put: 'multipart/form-data'.
> > using WARenderCanvas instead of WAHtmlRenderer? Select the string 'enctype' and type Apple+Shift+E (maybe also Ctrl+Shift+E, depending on your operating system). This will show you all the methods using this string ... Cheers, Lukas -- Lukas Renggli http://www.lukas-renggli.ch _______________________________________________ Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Lukas Renggli wrote:
>> html attributeAt: 'enctype' put: 'multipart/form-data'. >> >> using WARenderCanvas instead of WAHtmlRenderer? > > Select the string 'enctype' and type Apple+Shift+E (maybe also > Ctrl+Shift+E, depending on your operating system). This will show you > all the methods using this string ... > > Cheers, > Lukas > Should I do something like: html form multipart: true; ... ? _______________________________________________ Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
> Should I do something like:
> > html form multipart: true; ... html form multipart; with: [ ... is enough. Cheers, Lukas -- Lukas Renggli http://www.lukas-renggli.ch _______________________________________________ Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
In reply to this post by Lukas Renggli
>
> Select the string 'enctype' and type Apple+Shift+E (maybe also > Ctrl+Shift+E, depending on your operating system). This will show you > all the methods using this string ... > > Cheers, > Lukas Crap, I wish I'd known this before now. Lukas, care to do a quick roundup of your most used/useful hotkey combinations? In fact, anyone else as well! Ramon Leon http://onsmalltalk.com _______________________________________________ Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
> Crap, I wish I'd known this before now. Lukas, care to do a quick roundup > of your most used/useful hotkey combinations? In fact, anyone else as well! > > Actually, they are all in the popup menus of pluggable texts morph... (i) = cmd (or alt or ctrl or pom) + i (I) = cmd + shift + i -------- here are the most useful for me... (c) copy - (x) cut - (v) paste (d) do it - (p) print it - (i) inspect it - (I) explore it (s) accept - (L) cancel *(b) browse it* - *(n) senders of it* - *(N) references to it* - *(m) implementors of it* * (W) selectors containing it * - (E) method *strings* with it... --------- and some other... (k) set font - (K) set style - (u) set alignment (f) find - (g) find again - (h) set search string (z) undo - (j) do again (G) file it in - (o) spawn Cédrick _______________________________________________ Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
(j) is really cool!
Try this: Copy your instance variables to a new initialize method Then highlight the first space. Now type in the following : .<cr><tab>self<space> (be careful and do not hit backspace or this will not work) Now try the (j). Each time you hit ctrl-j it replaces the last space with what you typed. Or if you need to add ';' to the end of every line or something like that highlight the <cr> type in ;<cr> and try (j). Works great! Ron > -----Original Message----- > From: [hidden email] [mailto:seaside- > [hidden email]] On Behalf Of Cédrick Béler > Sent: Thursday, January 25, 2007 11:37 AM > To: The Squeak Enterprise Aubergines Server - general discussion. > Subject: Hotkey combinations (was: Re: [Seaside] attributeAt:put: > equivalent) > > > > Crap, I wish I'd known this before now. Lukas, care to do a quick > roundup > > of your most used/useful hotkey combinations? In fact, anyone else as > well! > > > > > Actually, they are all in the popup menus of pluggable texts morph... > > (i) = cmd (or alt or ctrl or pom) + i > (I) = cmd + shift + i > > -------- here are the most useful for me... > > (c) copy - (x) cut - (v) paste > > (d) do it - (p) print it - (i) inspect it - (I) explore it > > (s) accept - (L) cancel > > *(b) browse it* - *(n) senders of it* - *(N) references to it* - *(m) > implementors of it* > > * (W) selectors containing it * - (E) method *strings* with it... > > --------- and some other... > > (k) set font - (K) set style - (u) set alignment > > (f) find - (g) find again - (h) set search string > > (z) undo - (j) do again > > (G) file it in - (o) spawn > > > > Cédrick > _______________________________________________ > Seaside mailing list > [hidden email] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside _______________________________________________ Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
In reply to this post by Ramon Leon-5
> > Select the string 'enctype' and type Apple+Shift+E (maybe also
> > Ctrl+Shift+E, depending on your operating system). This will show you > > all the methods using this string ... > > Crap, I wish I'd known this before now. Lukas, care to do a quick roundup > of your most used/useful hotkey combinations? In fact, anyone else as well! That's hard to tell, these combinations happen mostly automatic ;-) Anyway, this is a try on of what's maybe not too obvious in Squeak: apple+m i*m*plementors of selected selector apple+n se*n*ders of selected selector apple+b open a *b*rowser on the selected class (but also works on selectors) apple+q completes the current selector (if you don't have eCompletion loaded) ctrl+t/f inserts if*T*rue:/if*F*alse: into the code Probably have to swap apple/ctrl/alt/... according to on your OS and your keyboard settings. Cheers, Lukas -- Lukas Renggli http://www.lukas-renggli.ch _______________________________________________ Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
2007/1/25, Lukas Renggli <[hidden email]>:
> > > Select the string 'enctype' and type Apple+Shift+E (maybe also > > > Ctrl+Shift+E, depending on your operating system). This will show you > > > all the methods using this string ... > > > > Crap, I wish I'd known this before now. Lukas, care to do a quick roundup > > of your most used/useful hotkey combinations? In fact, anyone else as well! > > That's hard to tell, these combinations happen mostly automatic ;-) > > Anyway, this is a try on of what's maybe not too obvious in Squeak: > > apple+m i*m*plementors of selected selector > apple+n se*n*ders of selected selector > apple+b open a *b*rowser on the selected class (but also works on selectors) > apple+q completes the current selector (if you don't have > eCompletion loaded) > ctrl+t/f inserts if*T*rue:/if*F*alse: into the code ctrl + l/r indent lines left or right Philippe _______________________________________________ Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
In reply to this post by Lukas Renggli
On 1/25/07, Lukas Renggli <[hidden email]> wrote:
> apple+m i*m*plementors of selected selector > apple+n se*n*ders of selected selector Somewhat tangentially, this message inspired me to hack up something I've wanted for a while - a single unified search box which does the various class/method/literal searches you constantly need while working in Squeak. Just open the Mercury window (from the world menu), type something in and hit return. The syntax, for now, is this: Foo "browse class" foo "implementors..." #Foo "refs to class" #foo "senders..." Foo* "find a class (substring match)" foo* "find a method (substring match)" 'foo' "find a string literal" I'm attaching the .mcz rather than creating a SqueakSource project because it's tiny and I doubt I'll ever commit a second version... Avi _______________________________________________ Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside Mercury-avi.1.mcz (3K) Download Attachment |
Thanks Avi, I like it! BTW it's Ctrl-s not Enter for Windows.
Ron > > Somewhat tangentially, this message inspired me to hack up something > I've wanted for a while - a single unified search box which does the > various class/method/literal searches you constantly need while > working in Squeak. Just open the Mercury window (from the world > menu), type something in and hit return. The syntax, for now, is > this: > > Foo "browse class" > foo "implementors..." > #Foo "refs to class" > #foo "senders..." > Foo* "find a class (substring match)" > foo* "find a method (substring match)" > 'foo' "find a string literal" > > I'm attaching the .mcz rather than creating a SqueakSource project > because it's tiny and I doubt I'll ever commit a second version... > > Avi _______________________________________________ Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
http://weeklysqueak.wordpress.com/2007/01/26/looking-for-a-shortcut/
Ron > -----Original Message----- > From: [hidden email] [mailto:seaside- > [hidden email]] On Behalf Of Ron Teitelbaum > Sent: Friday, January 26, 2007 11:09 AM > To: 'The Squeak Enterprise Aubergines Server - general discussion.' > Subject: RE: [Seaside] attributeAt:put: equivalent > > Thanks Avi, I like it! BTW it's Ctrl-s not Enter for Windows. > > Ron > > > > > Somewhat tangentially, this message inspired me to hack up something > > I've wanted for a while - a single unified search box which does the > > various class/method/literal searches you constantly need while > > working in Squeak. Just open the Mercury window (from the world > > menu), type something in and hit return. The syntax, for now, is > > this: > > > > Foo "browse class" > > foo "implementors..." > > #Foo "refs to class" > > #foo "senders..." > > Foo* "find a class (substring match)" > > foo* "find a method (substring match)" > > 'foo' "find a string literal" > > > > I'm attaching the .mcz rather than creating a SqueakSource project > > because it's tiny and I doubt I'll ever commit a second version... > > > > Avi > > _______________________________________________ > Seaside mailing list > [hidden email] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside _______________________________________________ Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Left click - help - command key help
- Bert - On Jan 26, 2007, at 18:24 , Ron Teitelbaum wrote: > http://weeklysqueak.wordpress.com/2007/01/26/looking-for-a-shortcut/ > > Ron > >> -----Original Message----- >> From: [hidden email] [mailto:seaside- >> [hidden email]] On Behalf Of Ron Teitelbaum >> Sent: Friday, January 26, 2007 11:09 AM >> To: 'The Squeak Enterprise Aubergines Server - general discussion.' >> Subject: RE: [Seaside] attributeAt:put: equivalent >> >> Thanks Avi, I like it! BTW it's Ctrl-s not Enter for Windows. >> >> Ron >> >>> >>> Somewhat tangentially, this message inspired me to hack up something >>> I've wanted for a while - a single unified search box which does the >>> various class/method/literal searches you constantly need while >>> working in Squeak. Just open the Mercury window (from the world >>> menu), type something in and hit return. The syntax, for now, is >>> this: >>> >>> Foo "browse class" >>> foo "implementors..." >>> #Foo "refs to class" >>> #foo "senders..." >>> Foo* "find a class (substring match)" >>> foo* "find a method (substring match)" >>> 'foo' "find a string literal" >>> >>> I'm attaching the .mcz rather than creating a SqueakSource project >>> because it's tiny and I doubt I'll ever commit a second version... >>> >>> Avi >> >> _______________________________________________ >> Seaside mailing list >> [hidden email] >> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > _______________________________________________ > Seaside mailing list > [hidden email] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside _______________________________________________ Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
In reply to this post by Philippe Marschall
>> >> ctrl+t/f inserts if*T*rue:/if*F*alse: into the code > > ctrl + l/r indent lines left or right > on windows and linux, this is cmd + (T/F) and cmd + (L/R) ctrl/alt + *shift*... plus one remark Damien showed me... to get senders or implementors of non-unary message like #headerAt:put: in the following code: self headerAt: 'location' put: aString you have to select the message even with the string 'location' and then cmd+m/n... Cédrick _______________________________________________ Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
This will be forever remembered as the day when Squeak list had finally penetrated our defenses and continued on its path of conquering the world and painting it lime green.
:> -Boris -- +1.604.689.0322 DeepCove Labs Ltd. 4th floor 595 Howe Street Vancouver, Canada V6C 2T5 http://tinyurl.com/r7uw4 [hidden email] CONFIDENTIALITY NOTICE This email is intended only for the persons named in the message header. Unless otherwise indicated, it contains information that is private and confidential. If you have received it in error, please notify the sender and delete the entire message including any attachments. Thank you. -----Original Message----- From: [hidden email] [mailto:[hidden email]] On Behalf Of Cédrick Béler Sent: Friday, January 26, 2007 9:54 AM To: The Squeak Enterprise Aubergines Server - general discussion. Subject: Re: [Seaside] attributeAt:put: equivalent >> >> ctrl+t/f inserts if*T*rue:/if*F*alse: into the code > > ctrl + l/r indent lines left or right > on windows and linux, this is cmd + (T/F) and cmd + (L/R) ctrl/alt + *shift*... plus one remark Damien showed me... to get senders or implementors of non-unary message like #headerAt:put: in the following code: self headerAt: 'location' put: aString you have to select the message even with the string 'location' and then cmd+m/n... Cédrick _______________________________________________ Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside _______________________________________________ Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
In reply to this post by cbeler
>
> plus one remark Damien showed me... to get senders or > implementors of non-unary message like #headerAt:put: in the > following code: > > self headerAt: 'location' put: aString > > you have to select the message even with the string > 'location' and then > cmd+m/n... > > Cédrick Nice, I didn't know that worked, I've always resorted to the method finder for those. Ramon Leon http://onsmalltalk.com _______________________________________________ Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
In reply to this post by cbeler
> -----Original Message----- > From: Cédrick Béler > Sent: Friday, January 26, 2007 12:54 PM > > plus one remark Damien showed me... to get senders or implementors of > non-unary message like #headerAt:put: in the following code: > > self headerAt: 'location' put: aString > > you have to select the message even with the string 'location' and then > cmd+m/n... > Wow it would be nice if alt-b would work like that! I don't know how many times I've tried it even thought I know it doesn't work! At least this gives me a faster path to it. Thanks! Ron _______________________________________________ Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
In reply to this post by Avi Bryant-2
I've also done something similar, called the Teleporter (couldn't find a nice reference to Quicksilver at the time ;-) ...)
It is available as part of BrowserBooster (http://www.squeaksource.com/BrowserBooster/). Basically you press cmd-1, enter a piece of text in the little pop-up that appears and press enter. The syntax is different though: - entering a single substring will look for a class name, then a message name (it is case insensitive). - entering two strings will look for a class and a message (eg "ord do:") - multiple parts of a name can be matched if separated by a dot (as in "ord.col do") - multiple matches are shown in a menu (which can be keyboard navigable if the preferences are set right) - commands are by defaults browsing and implementors, but can be changed via single-letter prefixes (b = browse, r = references, s = senders, i = implementors). - It can also evaluate smalltalk expressions as they usually do not match these patterns (3 + 4 makes you inspect 7). That's basically it. It can also be easily extended by adding new prefixes to create new kind of commands (see the commands category in the Teleporter class for that). Cheers, Romain Il giorno Jan 26, 2007, alle ore 9:35 AM, Avi Bryant ha scritto:
-- Romain Robbes _______________________________________________ Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Free forum by Nabble | Edit this page |