feat: implement case insensitive search (part 1)

This commit is contained in:
CJ van den Berg 2025-11-25 15:53:12 +01:00
parent 679927f8bd
commit 86ec27893d
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9
2 changed files with 16 additions and 6 deletions

View file

@ -5296,7 +5296,7 @@ pub const Editor = struct {
defer self.add_match_done();
var ctx: Ctx = .{ .self = self };
self.init_matches_update();
try root.find_all_ranges(query, &ctx, Ctx.cb, self.allocator);
try root.find_all_ranges(query, &ctx, Ctx.cb, .exact, self.allocator);
}
fn find_in_buffer_async(self: *Self, query: []const u8) !void {