[Eric] Matching quotes

2010-02-08 Thread David Arnold
All,

With parens, if you type a closing paren when one already exists, the cursor 
just moves outside the parens.

This doesn't work when typing a closing quotation mark. If your cursor is just 
after the last 0 and just prior to the closing quote in

__version__ = "1.0.0"

then typing another quote produces

__version__ = "1.0.0"""


D.
___
Eric mailing list
Eric@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/eric


Re: [Eric] Matching quotes

2010-02-09 Thread detlev
On Dienstag, 9. Februar 2010, David Arnold wrote:
> All,
> 
> With parens, if you type a closing paren when one already exists, the
>  cursor just moves outside the parens.
> 
> This doesn't work when typing a closing quotation mark. If your cursor is
>  just after the last 0 and just prior to the closing quote in
> 
> __version__ = "1.0.0"
> 
> then typing another quote produces
> 
> __version__ = "1.0.0"""

That is a feature of the Python typing aids. If activated a " or a ' will be 
doubled. Counting back through the text to determine how many " or ' are there 
would be too time consuming. However, a patch implementing a speedy solution 
would be welcome.

Detlev
-- 
Detlev Offenbach
det...@die-offenbachs.de
___
Eric mailing list
Eric@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/eric