aboutsummaryrefslogtreecommitdiff
path: root/core/ui.lua
diff options
context:
space:
mode:
authormitchell <70453897+orbitalquark@users.noreply.github.com>2020-09-07 10:39:19 -0400
committermitchell <70453897+orbitalquark@users.noreply.github.com>2020-09-07 10:39:19 -0400
commitc97f531abfb3053317b10d605eabf3aaaabab413 (patch)
treec102e9904e128e6bbd3ff4e86449366b6abf9dd3 /core/ui.lua
parentb1af2bb28476440eb10716e6b734b0d4e68bc57a (diff)
downloadtextadept-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/ui.lua')
-rw-r--r--core/ui.lua2
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]