fix: unbreak selections_reverse command signature

This commit is contained in:
CJ van den Berg 2025-11-19 13:56:03 +01:00
parent 4da9cee1ee
commit 85c3e7ae7c
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9

View file

@ -4429,9 +4429,9 @@ pub const Editor = struct {
}
}
pub fn selections_reverse(self: *Self, _: Context, metrics: Buffer.Metrics) Result {
pub fn selections_reverse(self: *Self, _: Context) Result {
const root = try self.buf_root();
try self.with_cursels_const(root, selection_reverse, metrics);
try self.with_cursels_const(root, selection_reverse, self.metrics);
self.clamp();
}
pub const selections_reverse_meta: Meta = .{ .description = "Reverse selection" };