[Eric] Uncomment function issue

Игорь Митренко netwamp at gmail.com
Sun Jun 20 23:11:56 BST 2010


Eric's uncomment algorithm has a small defect. Eric comments out your
strings just inserting the '#' in the first position of current string. If
it was commented out in different editor, such as Kate, the '#' symbol may
be placed anywhere before first non-space symbol of string. In case of Kate
it is placed right before first non-space symbol. But Eric supposed that '#'
symbol are placed in the first place of string, and deletes first symbol,
what isn't correct in this case.
I believe that it's not a big deal to insert search of '#' symbol in
uncomment function.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/eric/attachments/20100621/4396540d/attachment.html>


More information about the Eric mailing list