Compare commits

...

4 commits

3 changed files with 4 additions and 6 deletions

View file

@ -18,8 +18,8 @@
.hash = "dizzy-1.0.0-q40X4YCRAAAGYO9QOZiYYSOwiiFlqZlecMuQcxPiBcXM",
},
.thespian = .{
.url = "git+https://github.com/neurocyte/thespian?ref=master#25b10b6b5b23e6e44cbcaebbd107f117ed51d0d4",
.hash = "thespian-0.0.1-owFOjp0eBgCt6bQHckPIQBouw4ivKXhV9TY8T-uvu4Op",
.url = "git+https://github.com/neurocyte/thespian?ref=master#fb9207d22537f2940748c3e110b51be44296120e",
.hash = "thespian-0.0.1-owFOjtseBgA9KTb5dsA3KMcKj6sbXskYs3hxjHs4z3ub",
},
.themes = .{
.url = "https://github.com/neurocyte/flow-themes/releases/download/master-952f9f630ea9544088fd30293666ee0650b7a690/flow-themes.tar.gz",

View file

@ -1027,8 +1027,6 @@ const Node = union(enum) {
.writer = .{
.vtable = &.{
.drain = Ctx.drain,
.flush = std.Io.Writer.noopFlush,
.rebase = std.Io.Writer.failingRebase,
},
.buffer = &.{},
},

View file

@ -5755,7 +5755,7 @@ pub const Editor = struct {
defer args.deinit();
try cbor.writeArrayHeader(&args.writer, fmtr.len);
for (fmtr) |arg| try cbor.writeValue(&args.writer, arg);
try self.filter_cmd(.{ .buf = try args.toOwnedSlice() });
try self.filter_cmd(.{ .buf = args.written() });
return;
}
return tp.exit("no formatter");
@ -5779,7 +5779,7 @@ pub const Editor = struct {
try expand_selection_to_all(root, &sel_, self.metrics);
break :val sel_;
};
const reversed = sel.begin.right_of(sel.end);
const reversed = sel.is_reversed();
sel.normalize();
self.filter_ = .{
.before_root = root,