aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ring.h
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2016-01-28 05:00:52 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2016-01-28 05:00:52 +0100
commit131fe7c3431c039825587db0def807fff97b15fc (patch)
tree142f358fe34b1ed4acfda24687dc7c5029cc1ccb /src/ring.h
parentf4ac90104f59de06de96692213643e3b80c65e56 (diff)
downloadsciteco-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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ring.h b/src/ring.h
index 27f5862..31fda65 100644
--- a/src/ring.h
+++ b/src/ring.h
@@ -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);