From 1e278dce5dab93b73a3699aa2cc54fa6db11f34f Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Mon, 13 Jul 2020 14:30:36 -0400 Subject: Auto-highlight all occurrences of selected words and find results. This supercedes `textadept.editing.highlight_word()`, which has been removed. Changed the color of word highlights in themes. --- themes/dark.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'themes/dark.lua') diff --git a/themes/dark.lua b/themes/dark.lua index 89f8b99d..4d5d2087 100644 --- a/themes/dark.lua +++ b/themes/dark.lua @@ -118,11 +118,11 @@ for i = buffer.MARKNUM_FOLDEREND, buffer.MARKNUM_FOLDEROPEN do -- fold margin end -- Indicators. +view.indic_fore[ui.INDIC_HIGHLIGHT] = colors.grey +view.indic_alpha[ui.INDIC_HIGHLIGHT] = 128 view.indic_fore[ui.find.INDIC_FIND] = colors.dark_yellow view.indic_alpha[ui.find.INDIC_FIND] = 255 view.indic_fore[textadept.editing.INDIC_BRACEMATCH] = colors.light_grey -view.indic_fore[textadept.editing.INDIC_HIGHLIGHT] = colors.orange -view.indic_alpha[textadept.editing.INDIC_HIGHLIGHT] = 255 view.indic_fore[textadept.snippets.INDIC_PLACEHOLDER] = colors.grey -- Call tips. -- cgit v1.2.3