- global.c:
shortcut_init()
- Allow WHEREIS_NEXT_KEY to be used in view mode. (DLR)
-- nano,c:
+- nano.c:
+ do_int_spell_fix()
+ - Add comment explaining why findnextstr() is called with
+ bracket_mode set to TRUE even though we aren't doing a bracket
+ search. (DLR)
do_para_operation()
- Convert to use the new low-level input functions. (DLR)
main()
search_last_line = FALSE;
- /* We find the first whole-word occurrence of word. */
+ /* We find the first whole-word occurrence of word. We call
+ findnextstr() with bracket_mode set to TRUE in order to disable
+ search wrapping. */
while (findnextstr(TRUE, TRUE, fileage, -1, word, 0))
if (is_whole_word(current_x, current->data, word)) {
edit_refresh();
while (1) {
search_last_line = 0;
- if (findnextstr(1, 1, current, current_x, regexp_pat, 0) != NULL) {
+ if (findnextstr(TRUE, TRUE, current, current_x, regexp_pat, 0) != NULL) {
have_search_offscreen |= search_offscreen;
/* found identical bracket */