the "Replace" prompt. (DLR, found by Mike Frysinger)
- Remove unnecessary renumber(). (DLR)
- winio.c:
- edit_scroll(), edit_refresh()
+ edit_scroll(), edit_redraw(), edit_refresh()
- Clean up and simplify. (DLR)
do_statusbar_next_word()
- Rework to be more like do_statusbar_prev_word(), to avoid a
while (foo != openfile->current) {
if (do_refresh)
update_line(foo, 0);
+
#ifndef NANO_SMALL
if (!openfile->mark_set)
#endif
break;
+
#ifndef NANO_SMALL
- if (foo->lineno > openfile->current->lineno)
- foo = foo->prev;
- else
- foo = foo->next;
+ foo = (foo->lineno > openfile->current->lineno) ? foo->prev :
+ foo->next;
#endif
}