[Geany-devel] msgwin line and column position

Dimitar Zhekov dimitar.zhekov at xxxxx
Tue Aug 23 17:40:56 UTC 2011


There was no more comments in msgwindow double click, and my reasoning
was partially wrong - a big line number may be a result of some lines
being deleted by the user.

Because the patches affect the same code, I combined them here.

So, this "-c" version:

Parses an optional column # in the compiler messages.
Handles line/column 0 as 1, and too big line/column as EOF/EOLN.
Alters msgwin_goto_messages_file_line() not to pass invalid line # to
navqueue_goto_line() if we know for sure that the file name is valid.

I tested the patch in the last few days. It seems fine, and is quite
simple anyway.

Any other changes well have to wait after the 0.21 release.

E-gards: Jimmy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: compiler-line-column-c-5887.diff
Type: text/x-diff
Size: 14173 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/devel/attachments/20110823/4320a10c/attachment.diff>

More information about the Devel mailing list