Issue 4682 in pharo: code completion: cursor placement

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

Issue 4682 in pharo: code completion: cursor placement

pharo
Status: New
Owner: ----

New issue 4682 by [hidden email]: code completion: cursor placement
http://code.google.com/p/pharo/issues/detail?id=4682

When you use code completion, too many spaces are inserted and the cursor  
is misplaced.

Pharo image: Pharo
Pharo core version: Pharo1.2.2
Virtual machine used: Mac Squeak 4.2.2beta1U
Class browser used: OBSystemBrowserAdaptor

Steps to reproduce:

Example 1:
1. Type "self do"
2. let it complete to "do:displayingProgress:"
3. 2 spaces are inserted after "do:" and te cursor jumps after these two  
instead of into the middle. -> "self do: |displayingProgress:"


Example 2:
1. Type "Transcript 'blabla'"
2. You want to insert "show:" before 'blabla'. Type "sh" and complete.
3. There are 3 spaces then and the cursor is after the first 2:
"Transcript show: | 'blabla'"


Example 3:
1. Type "[ Ti]"
2. Let it complete to TimeStamp
3. The cursor jumps out of the braces then: "[ TimeStamp ]|"


Example 4:
1. Type "self fo
1+1"
2. Let fo complete to forbidden
3. The cursor jumps to the beginning of the next line



_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 4682 in pharo: code completion: cursor placement

pharo
Updates:
        Labels: Milestone-1.2.2

Comment #1 on issue 4682 by [hidden email]: code completion: cursor  
placement
http://code.google.com/p/pharo/issues/detail?id=4682

was it working before (1.1).
do you know if this is still the case in 1.3, 1.4?


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 4682 in pharo: code completion: cursor placement

pharo

Comment #2 on issue 4682 by [hidden email]: code completion: cursor  
placement
http://code.google.com/p/pharo/issues/detail?id=4682

I could reproduce all 4 examples on Pharo 1.2.2. Just a note, Example 4  
only happens when you complete with a unary method.

None of the issues are present in 1.3.


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 4682 in pharo: code completion: cursor placement

pharo
Updates:
        Status: Invalid

Comment #3 on issue 4682 by [hidden email]: code completion: cursor  
placement
http://code.google.com/p/pharo/issues/detail?id=4682

So this means we can close it?


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 4682 in pharo: code completion: cursor placement

pharo

Comment #4 on issue 4682 by [hidden email]: code completion: cursor  
placement
http://code.google.com/p/pharo/issues/detail?id=4682

So this means we can close it?


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 4682 in pharo: code completion: cursor placement

pharo

Comment #5 on issue 4682 by [hidden email]: code completion:  
cursor placement
http://code.google.com/p/pharo/issues/detail?id=4682

Ok


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker