From: Andre Noll Date: Sat, 19 Apr 2025 08:58:27 +0000 (+0200) Subject: i9e: Improve documentation of i9e_completion_info(). X-Git-Url: https://git.tuebingen.mpg.de/?a=commitdiff_plain;h=d824ae0b1132cf95389ab1fd9194995e34eaea11;p=paraslash.git i9e: Improve documentation of i9e_completion_info(). Emphasize that ->word is *not* the same as ->argv[i], where i is the index of the current word. --- diff --git a/interactive.h b/interactive.h index 6ef7f8e2..1dbaaddb 100644 --- a/interactive.h +++ b/interactive.h @@ -7,7 +7,7 @@ /** Structure passed as input to the completers. */ struct i9e_completion_info { char *buffer; /**< The full line. */ - char *word; /**< The word the cursor is in. */ + char *word; /**< The (partial) word the cursor is in. */ int point; /**< Cursor position. */ char **argv; /**< Vector of words in \a buffer. */ int argc; /**< Number of elements(words) in argv. */