diff options
author | 2013-04-03 16:56:14 -0400 | |
---|---|---|
committer | 2013-04-03 16:56:14 -0400 | |
commit | 679e188ec027978b37eb36a5f2d52bc2cf04ef77 (patch) | |
tree | 61da33e31c8f6f02fcc5fd53e406368635d5df43 /modules/textadept/find.lua | |
parent | 00153ab1c0f7307a8589c7d0cc0a3908cb7f0c34 (diff) | |
download | textadept-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.lua | 22 |
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 |