On Tue, 23 Feb 2010 01:46:08 +0300% Eugene Arshinov earshinov@gmail.com wrote:
- There is a little issue with "Automatically continue block
comments" turned on. It inserts comment symbols even if a block comment, which includes the beginning of the prev. line, is already closed. An example:
class A { virtual void a() = 0; }; class B { /* override */ void a() = {}
- <<< comment symbol was inserted here
The attached patch checks whether the comment is still active before automatically continuing it. It seems to work fine for me.
In this example class B should inherit A. I was in a hurry when writing this, so made a mistake. Though, the aim was to demonstrate what automatic continuing of comments does wrong, and this little issue with classes is not important at all.