diff options
author | 2020-09-07 10:39:19 -0400 | |
---|---|---|
committer | 2020-09-07 10:39:19 -0400 | |
commit | c97f531abfb3053317b10d605eabf3aaaabab413 (patch) | |
tree | c102e9904e128e6bbd3ff4e86449366b6abf9dd3 /core | |
parent | b1af2bb28476440eb10716e6b734b0d4e68bc57a (diff) | |
download | textadept-c97f531abfb3053317b10d605eabf3aaaabab413.tar.gz textadept-c97f531abfb3053317b10d605eabf3aaaabab413.zip |
Added `ui.find.active` and prevent word highlighting when searching.
Word auto-highlighting when searching is too distracting.
Diffstat (limited to 'core')
-rw-r--r-- | core/ui.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/ui.lua b/core/ui.lua index e726d1f4..438d7494 100644 --- a/core/ui.lua +++ b/core/ui.lua @@ -331,7 +331,7 @@ end) -- Sets buffer statusbar text. events_connect(events.UPDATE_UI, function(updated) - if updated and updated & 3 == 0 then return end -- ignore scrolling + if updated & 3 == 0 then return end -- ignore scrolling local text = not CURSES and '%s %d/%d %s %d %s %s %s %s' or '%s %d/%d %s %d %s %s %s %s' local pos = buffer.selection_n_caret[buffer.main_selection] |