}
#ifndef NANO_SMALL
-/* Move to the next word. If allow_update is FALSE, don't update the
- * screen afterward. Return TRUE if we started on a word, and FALSE
- * otherwise. */
+/* Move to the next word in the current filestruct. If allow_update is
+ * FALSE, don't update the screen afterward. Return TRUE if we started
+ * on a word, and FALSE otherwise. */
bool do_next_word(bool allow_update)
{
size_t pww_save = placewewant;
do_next_word(TRUE);
}
-/* Move to the previous word. */
+/* Move to the previous word in the current filestruct. */
void do_prev_word(void)
{
size_t pww_save = placewewant;
}
#endif /* !DISABLE_MOUSE */
-/* The user typed kbinput_len multibyte characters. Add them to the
- * edit buffer, filtering out all control characters if allow_cntrls is
+/* The user typed ouuput_len multibyte characters. Add them to the edit
+ * buffer, filtering out all control characters if allow_cntrls is
* TRUE. */
void do_output(char *output, size_t output_len, bool allow_cntrls)
{
static size_t key_buffer_len = 0;
/* The length of the default keystroke
* buffer. */
-static int statusblank = 0; /* The number of keystrokes left after
+static int statusblank = 0;
+ /* The number of keystrokes left after
* we call statusbar(), before we
* actually blank the statusbar. */
static size_t statusbar_x = (size_t)-1;
}
}
+/* Move text from the statusbar prompt into oblivion. */
void do_statusbar_cut_text(void)
{
assert(answer != NULL);
}
#ifndef NANO_SMALL
+/* Move to the next word at the statusbar prompt. */
void do_statusbar_next_word(void)
{
char *char_mb;
free(char_mb);
}
+/* Move to the previous word at the statusbar prompt. */
void do_statusbar_prev_word(void)
{
char *char_mb;
free(output);
}
+/* The user typed ouuput_len multibyte characters. Add them to the
+ * statusbar prompt, setting got_enter to TRUE if we get a newline, and
+ * filtering out all control characters if allow_cntrls is TRUE. */
void do_statusbar_output(char *output, size_t output_len, bool
*got_enter, bool allow_cntrls)
{