Intelli-Dolphin bug

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Intelli-Dolphin bug

Esteban A. Maringolo-3
Tim,

I've found a bug in ID when I use the autocompletion feature with a two
args keyword selector when the method edited isn't part of a compiled
method (i.e. it has no source yet).

For example, write the following on a workspace:

Dictionary new "follow the following steps"
1. select the selector #at:ifAbsent:
2. complete the first argument
3. Press TAB

This will raise a MNU exception, because the expected receiver isn't a
compiled method (or any object polimorphic).

Regards,

--
Esteban.


Reply | Threaded
Open this post in threaded view
|

Re: Intelli-Dolphin bug

Tim M
Hmmm I can't reproduce this in the non CE version (however I have made
a few minor fixes related to professional auto-correct things).

Just to double check, if I open a new workspace, type

 Dictionary new

 complete on at:ifabsent:

 Dictionary new at: key ifAbsent: []

 then I type 5 for key and press tab - it puts me in the []

 Dictionary new at: 5 ifAbsent: [].

I also tried this in a class browser with a new method.

When I get a chance I'll load up CE and see if I can get the same
behavior-  but if you could confirm I have the right test case that
would help.

Tim


Reply | Threaded
Open this post in threaded view
|

Re: Intelli-Dolphin bug

Tim M
TimM wrote:
> Hmmm I can't reproduce this in the non CE version (however I have made
> a few minor fixes related to professional auto-correct things).
>

Esteban - I know what it is - its the TAB key handling.

I have a fix, but the best thing is probably for me to just repackage
my latest stuff (there are a few other fixes as well).

I'll try and do it today - but have been a bit busy lately.

I do wish we had an automated build facility in the Dolphin community,
it simply takes too long to properly package stuff up and test it in a
clean image automatically. This is on my next hit list - I'm fed up
with it... I think its holding us all back...

I know a few people have been thinking about this - we need to round
them up.

Tim


Reply | Threaded
Open this post in threaded view
|

Re: Intelli-Dolphin bug

Tim M
Esteban - I have created a preliminary 1.2 release and tested it in
both the community and professional versions.

(Actually it revelealed a potential breakage of unit test running in
Dolphin - something seems to work differenty now).

You can dowload the latest version here:
http://www.macta.f2s.com/Thoughts/Download/Intelli-Dolphin-1.2.zip

Change in 1.2
- Auto correct will now correct the closest temp (professional version)
- Tab to errors fixed to handle workspace and now ignores the comment
tab
- Shift-Tab to errors added to go back to previous errors
- Several patches now included in Dolphin Patch 1 have been removed