completion on quote and brace characters inconsistent?

106 views
Skip to first unread message

maphew

unread,
Feb 14, 2012, 5:47:36 PM2/14/12
to PyScripter
Hi All,

I'm new to pyscripter and am enjoying it immensely. Thanks to all
who've contributed to make it what it is. :)

I'm a bit confused about the behaviour of code completion of quote and
brace characters. 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.

Is what I've just described here the same for everyone or do I have
localized problem? And if it is the same for all, how do you work
around it?

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

thanks and best regards,

-matt

PyScripter

unread,
Feb 14, 2012, 6:06:16 PM2/14/12
to pyscr...@googlegroups.com
You can turn off bracket auto completion through Tools, Options, IDE options.  But I guess what you want is in the second case for the bracket (or apostrophe) not to be added but override the existing one.  You may want to submit an issue at pyscripter.googlecode.com about this.

maphew

unread,
Feb 14, 2012, 6:30:33 PM2/14/12
to PyScripter
Ok, done: http://code.google.com/p/pyscripter/issues/detail?id=615

thanks for the prompt feedback :)

-matt
Reply all
Reply to author
Forward
0 new messages