Status: New
Owner: ----
New issue 4682 by
[hidden email]: code completion: cursor placement
http://code.google.com/p/pharo/issues/detail?id=4682When 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