aboutsummaryrefslogtreecommitdiff
path: root/core/ext
diff options
context:
space:
mode:
Diffstat (limited to 'core/ext')
-rw-r--r--core/ext/find.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/ext/find.lua b/core/ext/find.lua
index 064a7ddb..7d1b7873 100644
--- a/core/ext/find.lua
+++ b/core/ext/find.lua
@@ -327,3 +327,7 @@ function find.goto_file_in_list(next)
end
end
end
+
+if buffer then buffer:marker_set_back(MARK_FIND, MARK_FIND_COLOR) end
+textadept.events.add_handler('view_new',
+ function() buffer:marker_set_back(MARK_FIND, MARK_FIND_COLOR) end)