[Pharo-project] Making cr to autocomplete as well as tab (in Pharo 1.3)
luc.fabresse at gmail.com
Thu May 5 18:28:30 CEST 2011
2011/5/5 Tudor Girba <tudor.girba at gmail.com>
> Now, if you insist, I still believe there is a place for CR. Completion has
> two modes:
> 1. one in which I write and the completion offers me something, and
> 2. one in which I am after I press the down arrow to select some completion
> For 1. you do not want to have CR as a completion character. For 2. it is
> probably ok because you enter explicitly in a temporary mode and thus you
> are not typing anymore and this will not induce the conflict.
My problem is always in the second case.
> On 5 May 2011, at 17:37, Thierry Lebourque wrote:
> > That is really great!
> > Many thanks
> > 2011/5/5 Igor Stasenko <siguctua at gmail.com>:
> >> Hi, i just found inconvenient that for autocompletion i should press
> >> tab all the time
> >> while i tend to always hit enter, which instead of pasting suggestion,
> >> inserts cr into text.
> >> So i hacked a lil piece of code to make autocompletion to insert
> >> suggested text when you pressing either tab or cr
> >> --
> >> Best regards,
> >> Igor Stasenko AKA sig.
> "Reasonable is what we are accustomed with."
-------------- section suivante --------------
Une pi?ce jointe HTML a ?t? nettoy?e...
More information about the Pharo-project