[Geany] thank you to whomever fixed Ctrl-J...

Stephan Beal sgbeal at xxxxx
Wed Jul 6 17:34:44 UTC 2011


On Wed, Jul 6, 2011 at 6:21 PM, Stephan Beal <sgbeal at googlemail.com> wrote:

> A quick thanks to whomever fixed Ctrl-J (paragraph auto-wrap) to properly
> recognize end-of-comment markers so that
>

LOL! Right after making that post i found a corner case Ctrl-J doesn't
handle properly:

Before Ctrl-J:

License: this code is released into the Public Domain by its author,
Stephan Beal (http://wanderinghorse.net/home/stephan/). HOWEVER, if
you enable the MySQL driver (by compiling with
-DCPDO_ENABLE_MYSQL5=ATrueValue) then you must inherit the GPL license
used by MySQL (if any). Linking against sqlite3 does not impose any
specific licensing restrictions on the client (not even a "do no evil"
clause).
************************************************************************/
#if defined(NDEBUG)
#  undef NDEBUG
#endif

After Ctrl-J:

...
impose any specific licensing restrictions on the client (not even a
"do no evil" clause).
**********************************************************************
**/ #if defined(NDEBUG) #  undef NDEBUG #endif

Note the placement of the #if.

(No big deal, but the timing of this find was funny.)

-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.geany.org/pipermail/users/attachments/20110706/9b511451/attachment.html>


More information about the Users mailing list