[Geany-devel] Little questions

Eugene Arshinov earshinov at xxxxx
Tue Feb 23 07:29:45 UTC 2010

On Tue, 23 Feb 2010 01:46:08 +0300%
Eugene Arshinov <earshinov at gmail.com> wrote:

> 1. 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.

More information about the Devel mailing list