summaryrefslogtreecommitdiff
path: root/src/buffer_manager.hh
diff options
context:
space:
mode:
authorIgor Ramazanov <igor.ramazanov@protonmail.com>2024-06-04 23:19:47 +0200
committerGitHub <noreply@github.com>2024-06-04 23:19:47 +0200
commit4d21fbb3b0b66ef48270e5655bf2687a1f78becf (patch)
tree479c9ca7cd6e9fcf16d7abc7ebea8c8fe0b502e9 /src/buffer_manager.hh
parent7e8c430ad0706604c0b919207f322a5c14150575 (diff)
parent727d2391c7695056ce6bb170b127c6e6ca9e1ab4 (diff)
Merge branch 'mawww:master' into contrib/gendocs.sh
Diffstat (limited to 'src/buffer_manager.hh')
-rw-r--r--src/buffer_manager.hh4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/buffer_manager.hh b/src/buffer_manager.hh
index 75066bd9..5b687a7f 100644
--- a/src/buffer_manager.hh
+++ b/src/buffer_manager.hh
@@ -28,6 +28,10 @@ public:
Buffer* get_buffer_ifp(StringView name);
Buffer& get_buffer(StringView name);
+ Buffer* get_buffer_matching_ifp(const Regex& regex);
+ Buffer& get_buffer_matching(const Regex& regex);
+
+ void make_latest(Buffer& buffer);
void arrange_buffers(ConstArrayView<String> first_ones);
Buffer& get_first_buffer();