]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
i9e: Improve documentation of i9e_completion_info().
authorAndre Noll <maan@tuebingen.mpg.de>
Sat, 19 Apr 2025 08:58:27 +0000 (10:58 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Wed, 23 Apr 2025 19:41:14 +0000 (21:41 +0200)
Emphasize that ->word is *not* the same as ->argv[i], where i is the index of
the current word.

interactive.h

index 6ef7f8e259b0045a5c808c01560b5a81166b01fd..1dbaaddbe4fdb3d855284b91b2dde4ba49d26782 100644 (file)
@@ -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. */