Open the file in the msgwindow even if no line number is specified
commitb2142af11f22dbc3a7e09411783723c3839d7707
authorColomban Wendling <ban@herbesfolles.org>
Sat, 30 Apr 2011 21:50:50 +0000 (30 21:50 +0000)
committerColomban Wendling <ban@herbesfolles.org>
Sat, 30 Apr 2011 21:50:50 +0000 (30 21:50 +0000)
tree9925fa2ffec9e808957b9cf246654b04f0750e8c
parente48def3c687b063a39ec17d34285c2119158d855
Open the file in the msgwindow even if no line number is specified

Plugins may need to open a file from the message window without
specifying the line number, so allow messages of the form:

file[:line[...]]

For instance, all the following are now correctly parsed and the
corresponding file is opened:

/path/to/file
/path/to/file:line
/path/to/file: something not a line
/path/to/file:line: something
/path/to/file:line something

etc.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5754 ea778897-0a13-0410-b9d1-a72fbfd435f5
ChangeLog
src/msgwindow.c