LionHeart123 / pyscripter

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

Changing function's name moves cursor to the end of name #561

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. write new function: def my_function():pass
2. try to change function name to my_cool_function

What is the expected output? What do you see instead?

When i try to change function/class/method name by adding new characters in the 
middle of its name cusor goes to end after entering first letter:

def my_function():pass
# now place cursor after my_
def my_|function():pass
# now try to add _cool
def my_cfunction|():pass #here - cursor goes to the end of name

What version of the product are you using? On what operating system?
2.4.4.0
python 2.7
win7 64bit

Original issue reported on code.google.com by mynth...@gmail.com on 16 Sep 2011 at 9:12

GoogleCodeExporter commented 9 years ago
This is due to the new Code completion options added.  If you find this 
annoying go to Tools, Options, IDE Options and disable "Auto-Complete with one 
entry".  I may change the default to disabaled.

Another solution I am thinking is to not have completion when you type function 
and class names, but this will not allow you to easily override inherited 
methods.

Original comment by pyscripter on 16 Sep 2011 at 4:50