diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2016-01-28 05:00:52 +0100 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2016-01-28 05:00:52 +0100 |
commit | 131fe7c3431c039825587db0def807fff97b15fc (patch) | |
tree | 142f358fe34b1ed4acfda24687dc7c5029cc1ccb /src/ring.h | |
parent | f4ac90104f59de06de96692213643e3b80c65e56 (diff) | |
download | sciteco-131fe7c3431c039825587db0def807fff97b15fc.tar.gz |
added :EX (colon-modified EX): exits SciTECO saving all modified buffers
* this allows you to exit and save only those buffers that are modified.
This was not yet possible using macros, since there is currently no way
to query the dirty state of buffers programmatically.
* even if there was, the necessary key presses might be too much for
some users.
* the ability to save all modified buffers has been explicitly requested
by an user in ticket #4.
* the new behaviour is not compatible with classic TECO where EX would
save the current file by default but provides a relatively short way
to do just that.
* updated the documentation: there was also one mistake regarding the
boolean that EX accepts non-colon-modified.
Diffstat (limited to 'src/ring.h')
-rw-r--r-- | src/ring.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -190,6 +190,7 @@ public: void dirtify(void); bool is_any_dirty(void); + void save_all_dirty_buffers(void); bool edit(tecoInt id); void edit(const gchar *filename); |