Branch: refs/heads/master Home: https://github.com/geany/geany
Commit: 8f280ed884721a0a1c75462e428b9bcffb3ac527 https://github.com/geany/geany/commit/8f280ed884721a0a1c75462e428b9bcffb3ac5... Author: Thomas Martitz thomas.martitz@student.htw-berlin.de Date: 2011-11-17 (Thu, 17 Nov 2011)
Changed paths: M doc/geany.html M doc/geany.txt M src/document.c M src/main.c M src/main.h M src/socket.c
Log Message: ----------- 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. (...)