From 714f0d1c7518548dd7b77fb2fef77cf0f351dc1c Mon Sep 17 00:00:00 2001 From: Jack Cherng Date: Sat, 20 Jul 2024 05:54:18 +0800 Subject: [PATCH] fix: wrong results after "undo" command Signed-off-by: Jack Cherng --- plugin/ui/region_drawing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/ui/region_drawing.py b/plugin/ui/region_drawing.py index a733508..9e7b58e 100644 --- a/plugin/ui/region_drawing.py +++ b/plugin/ui/region_drawing.py @@ -22,7 +22,7 @@ def draw_uri_regions(view: sublime.View, uri_regions: Iterable[sublime.Region]) tuple(uri_regions), scope=draw_uri_regions["scope"], icon=draw_uri_regions["icon"], - flags=parse_draw_region_flags(draw_uri_regions["flags"]) | sublime.NO_UNDO, + flags=parse_draw_region_flags(draw_uri_regions["flags"]), )