[Geany-devel] [PATCH 07/19] Open the file in the msgwindow even if no linenumber is specified

Jiří Techet techet at xxxxx
Wed Aug 4 23:59:41 UTC 2010


Plugins may need to open a file from the message window without
specifying the line number (e.g. gproject has the feature "find project
file"). In addition to the original behaviour this patch makes it possible
to open files when the message is of the form

filename(:[whatever])*

so for instance

/home/techet/geany/foo.c
/home/techet/geany/foo.c: this the file you were searching for

are both valid and the file is opened when the message is clicked.

Signed-off-by: Jiří Techet <techet at gmail.com>
---
 src/msgwindow.c |   33 +++++++++++++++++++++++++++++++++
 1 files changed, 33 insertions(+), 0 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0007-Open-the-file-in-the-msgwindow-even-if-no-linenumber.patch
Type: text/x-patch
Size: 1894 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/devel/attachments/20100805/8f9c85ba/attachment.bin>


More information about the Devel mailing list