aboutsummaryrefslogtreecommitdiffhomepage
path: root/modules
diff options
context:
space:
mode:
authorGravatar mitchell <70453897+667e-11@users.noreply.github.com>2020-08-27 20:35:41 -0400
committerGravatar mitchell <70453897+667e-11@users.noreply.github.com>2020-08-27 20:35:41 -0400
commit4b78f9f512fb84018dc4cacf08557e83a38f18c6 (patch)
tree3651dc49a798a42ec6f190729c5f07fa06f9952e /modules
parent587cb750afd36a2bb797fa6bec1bdf66fe665e9c (diff)
Disable `ui.find.highlight_all_matches` by default.
It can be difficult to see what the current result is.
Diffstat (limited to 'modules')
-rw-r--r--modules/textadept/find.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/textadept/find.lua b/modules/textadept/find.lua
index e1e18e8e..9654c988 100644
--- a/modules/textadept/find.lua
+++ b/modules/textadept/find.lua
@@ -60,7 +60,7 @@ local M = ui.find
-- @field highlight_all_matches (boolean)
-- Whether or not to highlight all occurrences of found text in the current
-- buffer.
--- The default value is `true`.
+-- The default value is `false`.
-- @field INDIC_FIND (number)
-- The find results highlight indicator number.
-- @field _G.events.FIND_WRAPPED (string)
@@ -82,7 +82,7 @@ M.match_case_label_text = not CURSES and _L['Match case'] or _L['Case(F1)']
M.whole_word_label_text = not CURSES and _L['Whole word'] or _L['Word(F2)']
M.regex_label_text = not CURSES and _L['Regex'] or _L['Regex(F3)']
M.in_files_label_text = not CURSES and _L['In files'] or _L['Files(F4)']
-M.highlight_all_matches = true
+M.highlight_all_matches = false
M.INDIC_FIND = _SCINTILLA.next_indic_number()