LionHeart123 / pyscripter

Automatically exported from code.google.com/p/pyscripter
0 stars 0 forks source link

editing a variable/word takes to the end of the line after every keystroke #636

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

for the below source code, if i try to change the variable name from fooar to 
foobar, after i type b, the cursor moves to the end of the word i.e after 
foobar.This happens for every word that is changed in the middle, not seen at 
word boundaries though

def main():
    fooar=10

if __name__ == '__main__':
    main()

What is the expected output? What do you see instead?
The cursor should stay in the same place after editing

What version of the product are you using? On what operating system?
2.5.3.0 x64

Please provide any additional information below.

Original issue reported on code.google.com by shailend...@gmail.com on 2 Apr 2012 at 6:48

GoogleCodeExporter commented 9 years ago
There are two autocompletion options that affect this behavior. 

a. IDE option "Complete as you type" (default True)
b. IDE option "Auto-complete with one entry"  Automatic completion if there is 
only one entry in the completion list without showing the selection list.

Disable one of these options, maybe the second one to avoid the issue.

Please see 
http://pyscripter.blogspot.com/2011/08/code-completion-improvements.html for 
details.

Original comment by pyscripter on 2 Apr 2012 at 11:19