Andres Fortier was so kind and gave me some enhanced/refined searches
for the Autocomplete add on (it's able to limit the selector search when it detects things like self, super, some literals, class names. I've integrated them, and added some more. Beefed up the comments. And I think got rid of the nil WindowManager bug that some had reported. I haven't published it as the trunk yet; I'd rather have a little testing on it first. It's been published as '23 + changes'. If you're feeling daring, I hope you'll give it a go and report any issues back. TIA (And special thanks to Andres Fortier) -- Travis Griggs Objologist Time and Countertops. They both get used up way too fast. _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
Travis,
Tried in a clean 7.6 image and when tab is pressed on the source code, it throws a dnu for #value. I'm really looking foward a stable version of this, it'll definitely make AutoComplete much more user friendly. HIH, Emiliano. Travis Griggs escribió: > Andres Fortier was so kind and gave me some enhanced/refined searches > for the Autocomplete add on (it's able to limit the selector search > when it detects things like self, super, some literals, class names. > I've integrated them, and added some more. Beefed up the comments. And > I think got rid of the nil WindowManager bug that some had reported. I > haven't published it as the trunk yet; I'd rather have a little > testing on it first. It's been published as '23 + changes'. If you're > feeling daring, I hope you'll give it a go and report any issues back. > > TIA > > (And special thanks to Andres Fortier) > > -- > Travis Griggs > Objologist > Time and Countertops. They both get used up way too fast. > > > _______________________________________________ > vwnc mailing list > [hidden email] > http://lists.cs.uiuc.edu/mailman/listinfo/vwnc > > _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
On Dec 11, 2008, at 6:00 PM, Emiliano Pérez wrote: > Travis, > Tried in a clean 7.6 image and when tab is pressed on the source > code, it throws a dnu for #value. > I'm really looking foward a stable version of this, it'll definitely > make AutoComplete much more user friendly. Yes. I keep thinking that we edged the SymbolValue stuff in right before 7.6. When in reality it happened right after. So I forget to avoid its use in stuff that still is likely to be run in 7.6. Anyway, there's a changes_c branch now. Hope it works better. And thank you very much for the quick feedback Emiliano. -- Travis Griggs Objologist "I think that we should be men first, and subjects afterward." - Henry David Thoreau _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
Hi, changes_c works better, still a thing or two...
- When tabbing on a method sometimes i get a Transcript showing UndefinedObject. For instance, if i tab rigth after a v.i. let's say | result |, i get (UndefinedObject #DoIt - result is undeclared) - The 'receiver filter' seems to work only for classes, not for self/super. Tried calling self as[Tab] in a non-collection class, and got all the conversion methods (asList, asSet, etc...). Also whanted to let you know that Holger Kleinsorgen has published a new BlockIndent version (1.4) that is now compatible with AutoComplete. HIH, Emiliano. Travis Griggs escribió: > On Dec 11, 2008, at 6:00 PM, Emiliano Pérez wrote: > > > > Yes. I keep thinking that we edged the SymbolValue stuff in right > before 7.6. When in reality it happened right after. So I forget to > avoid its use in stuff that still is likely to be run in 7.6. > > Anyway, there's a changes_c branch now. Hope it works better. And > thank you very much for the quick feedback Emiliano. > > -- > Travis Griggs > Objologist > "I think that we should be men first, and subjects afterward." - Henry > David Thoreau > > > > > _______________________________________________ > vwnc mailing list > [hidden email] > http://lists.cs.uiuc.edu/mailman/listinfo/vwnc > > _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
In reply to this post by Travis Griggs-3
*snip*
Simple question, but there I go: How do I get the completion to actually work? The MagicKeys.KeyBindingsEditor results in a walkback. I know I had it work already, but I think loading the MagicKeys package broke it. Is there any tutorial as to how to get something so incredibly useful to work? Claus _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
use the tab key to auto-complete.
For example type in a browser: Object you and hit the tab key. I can't help you with MagicKeys since I don't use it :(. HTH Andrés Claus Kick escribió: > *snip* > > Simple question, but there I go: > > How do I get the completion to actually work? > > The MagicKeys.KeyBindingsEditor results in a walkback. > > I know I had it work already, but I think loading the MagicKeys package > broke it. > > Is there any tutorial as to how to get something so incredibly useful to > work? > > Claus > > _______________________________________________ > vwnc mailing list > [hidden email] > http://lists.cs.uiuc.edu/mailman/listinfo/vwnc > vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
Andres Fortier wrote:
> use the tab key to auto-complete. > > For example type in a browser: > > Object you > > and hit the tab key. > > I can't help you with MagicKeys since I don't use it :(. Hello Andres, thats the problem, tab is for me a tab -> \t. I am used to either control+space or shift+space. So, to me, there are two possibilities: 1. Change Autocomplete to use [control|shift]+space -> I dont want to do that. 2. Use MagicKeys, but how? Claus _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
Ok, here goes a very quick (and barely tested) hack:
1. Restore the overriden message normalCharacterKey: aCharEvent in ParagraphEditor. This should remove the support for the tab key 2. Override normalKeyboardEvent: charEvent do: aBlock of ParagraphEditor in AutoComplete package with: normalKeyboardEvent: charEvent do: aBlock "The normal handling of character events." | aChar | aChar := charEvent keyValue. #{AutoComplete.TabComplete} ifDefinedDo: [:bool | (bool == true and: [(aChar = Character space) and: [charEvent hasShift]]) ifTrue: [ (self completeWordFrom: self interactiveWordCompletionSearch) ifTrue: [^self]]]. charComposer add: aChar do: [:char | | ch | char asInteger > Character illegalCode ifTrue: [ch := Character illegalCode asCharacter] ifFalse: [ch := char]. aBlock value: ch] HTH, Andrés Claus Kick escribió: > Andres Fortier wrote: >> use the tab key to auto-complete. >> >> For example type in a browser: >> >> Object you >> >> and hit the tab key. >> >> I can't help you with MagicKeys since I don't use it :(. > > Hello Andres, > > thats the problem, tab is for me a tab -> \t. I am used to either > control+space or shift+space. > > So, to me, there are two possibilities: > > 1. Change Autocomplete to use [control|shift]+space -> I dont want to do > that. > > 2. Use MagicKeys, but how? > > Claus > _______________________________________________ > vwnc mailing list > [hidden email] > http://lists.cs.uiuc.edu/mailman/listinfo/vwnc > vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
Free forum by Nabble | Edit this page |