New --read-only commandline option
commit8f280ed884721a0a1c75462e428b9bcffb3ac527
authorThomas Martitz <thomas.martitz@student.htw-berlin.de>
Thu, 3 Nov 2011 21:27:49 +0000 (3 22:27 +0100)
committerColomban Wendling <ban@herbesfolles.org>
Thu, 17 Nov 2011 15:41:51 +0000 (17 16:41 +0100)
tree17d646a7c7268c8e853dbb2fc499f499669640e9
parent80d5e07c6cbdf640abec0cc923cbdd6cfa63b73d
New --read-only commandline option

This adds a new commandline option --read-only (or -r). It's implemented
according to the behavior agreed on on the mailing list:

--read-only applies to all files on the command line
irrespective of positioning and has no effect on any other files
opened by session or menu (...)

Current behaviour on attempting to re-open a file with different
read-only status is that nothing happens, the already open
file is raised but not changed. (...)
doc/geany.html
doc/geany.txt
src/document.c
src/main.c
src/main.h
src/socket.c