ouilles / pyscripter

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

completion: skip over existing quote or brace when typing quote or brace #615

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Sometimes the cursor skips over the closing quote/brace and sometimes it 
inserts a new one. In the example below ^ caret shows insert cursor position; 
only quote shown but the same behaviour occurs with braces.

{{{
# typing quote " will advance cursor over the quote, this is desired
s = "^"
# result:
#  s=""^

# typing " will insert a quote, necessitating a delete
s= "some letters^"
# result, undesired:
#   s= "some letters"^"
}}}

In terms of how I experience using pyscripter, this is a defect because a 
feature which is supposed to be lightening the load is actually making more 
work. I need to be always either moving my fingers from home row in order to 
access the cursor keys, or duplicating characters and then removing the extras 
later. In most other respects the completion is helpful, so I don't want to 
turn it off. 

I'm using Portable PyScripter 2.4.3.0 on Win7 with Python 3.2.

Original issue reported on code.google.com by map...@gmail.com on 14 Feb 2012 at 11:29

GoogleCodeExporter commented 9 years ago
Fixed in version control.

Original comment by pyscripter on 2 Mar 2012 at 4:02

GoogleCodeExporter commented 9 years ago
awesome, thanks!

Original comment by map...@gmail.com on 2 Mar 2012 at 9:05