Fix minor bugs and add language detection.

This commit is contained in:
2026-09-25 13:23:57 +01:00
parent 6711ecbaee
commit 8d6f7d323e
14 changed files with 230 additions and 90 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ struct Buffer {
virtual bool waste() = 0;
virtual uint64_t lines() = 0;
virtual uint64_t bytes() = 0;
virtual void set_filename(std::filesystem::path path) = 0;
virtual void set_filename(BEd &ctx, std::filesystem::path path) = 0;
virtual std::filesystem::path filename() = 0;
virtual void saved_hook() = 0;
virtual void load(BEd &ctx, vase::Shard *text) = 0;