aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/find.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2013-04-03 16:56:14 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2013-04-03 16:56:14 -0400
commit679e188ec027978b37eb36a5f2d52bc2cf04ef77 (patch)
tree61da33e31c8f6f02fcc5fd53e406368635d5df43 /modules/textadept/find.lua
parent00153ab1c0f7307a8589c7d0cc0a3908cb7f0c34 (diff)
downloadtextadept-679e188ec027978b37eb36a5f2d52bc2cf04ef77.tar.gz
textadept-679e188ec027978b37eb36a5f2d52bc2cf04ef77.zip
Textadept should support multiple curses platforms; remove ncurses references.
Requires Scintilla r4436 and Scinterm r45.
Diffstat (limited to 'modules/textadept/find.lua')
-rw-r--r--modules/textadept/find.lua22
1 files changed, 11 insertions, 11 deletions
diff --git a/modules/textadept/find.lua b/modules/textadept/find.lua
index 866bddf8..d1105a7b 100644
--- a/modules/textadept/find.lua
+++ b/modules/textadept/find.lua
@@ -60,17 +60,17 @@ local find = gui.find
module('gui.find')]]
local _L = _L
-find.find_label_text = not NCURSES and _L['_Find:'] or _L['Find:']
-find.replace_label_text = not NCURSES and _L['R_eplace:'] or _L['Replace:']
-find.find_next_button_text = not NCURSES and _L['Find _Next'] or _L['[Next]']
-find.find_prev_button_text = not NCURSES and _L['Find _Prev'] or _L['[Prev]']
-find.replace_button_text = not NCURSES and _L['_Replace'] or _L['[Replace]']
-find.replace_all_button_text = not NCURSES and _L['Replace _All'] or _L['[All]']
-find.match_case_label_text = not NCURSES and _L['_Match case'] or _L['Case(F1)']
-find.whole_word_label_text = not NCURSES and _L['_Whole word'] or _L['Word(F2)']
-find.lua_pattern_label_text = not NCURSES and _L['_Lua pattern'] or
+find.find_label_text = not CURSES and _L['_Find:'] or _L['Find:']
+find.replace_label_text = not CURSES and _L['R_eplace:'] or _L['Replace:']
+find.find_next_button_text = not CURSES and _L['Find _Next'] or _L['[Next]']
+find.find_prev_button_text = not CURSES and _L['Find _Prev'] or _L['[Prev]']
+find.replace_button_text = not CURSES and _L['_Replace'] or _L['[Replace]']
+find.replace_all_button_text = not CURSES and _L['Replace _All'] or _L['[All]']
+find.match_case_label_text = not CURSES and _L['_Match case'] or _L['Case(F1)']
+find.whole_word_label_text = not CURSES and _L['_Whole word'] or _L['Word(F2)']
+find.lua_pattern_label_text = not CURSES and _L['_Lua pattern'] or
_L['Pattern(F3)']
-find.in_files_label_text = not NCURSES and _L['_In files'] or _L['Files(F4)']
+find.in_files_label_text = not CURSES and _L['_In files'] or _L['Files(F4)']
-- Events.
local events, events_connect = events, events.connect
@@ -236,7 +236,7 @@ end
-- Begins an incremental find using the command entry.
-- Only the `match_case` find option is recognized. Normal command entry
-- functionality will be unavailable until the search is finished by pressing
--- `Esc` (`⎋` on Mac OSX | `Esc` in ncurses).
+-- `Esc` (`⎋` on Mac OSX | `Esc` in curses).
-- @name find_incremental
function find.find_incremental()
find.incremental, find.incremental_start = true, buffer.current_pos