diff options
author | axel <axel@liljencrantz.se> | 2006-06-17 23:07:08 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2006-06-17 23:07:08 +1000 |
commit | 07ff8a6c03e9c232a285e8b4ebc22f11ae5963d7 (patch) | |
tree | dee6963874a0c36ec40401211b6ea67784be2c7d /complete.h | |
parent | 9f10dd377ee08f9142fb52db1506392610606250 (diff) |
Documentation updates. Fixes a few formating bugs, adds various minor missing api documentation, fixes a few typos. Also fixes a few tiny code issues, mostly missing consts, etc
darcs-hash:20060617130708-ac50b-cc2ec5aa3e4bfb8e28d7b86441bfb4661f1dd7e7.gz
Diffstat (limited to 'complete.h')
-rw-r--r-- | complete.h | 46 |
1 files changed, 36 insertions, 10 deletions
@@ -1,10 +1,12 @@ /** \file complete.h Prototypes for functions related to tab-completion. - These functions are used for storing and retrieving tab-completion data, as well as for performing tab-completion. + These functions are used for storing and retrieving tab-completion + data, as well as for performing tab-completion. */ #ifndef FISH_COMPLETE_H + /** Header guard */ @@ -14,29 +16,53 @@ #include "util.h" -/** Use all completions */ +/** + Use all completions +*/ #define SHARED 0 -/** Do not use file completion */ +/** + Do not use file completion +*/ #define NO_FILES 1 -/** Require a parameter after completion */ +/** + Require a parameter after completion +*/ #define NO_COMMON 2 -/** Only use the argument list specifies with completion after option. This is the same as (NO_FILES & NO_COMMON) */ +/** + Only use the argument list specifies with completion after + option. This is the same as (NO_FILES & NO_COMMON) +*/ #define EXCLUSIVE 3 -/** Command is a path */ +/** + Command is a path +*/ #define PATH 1 -/** Command is not a path */ +/** + Command is not a path +*/ #define COMMAND 0 -/** Separateor between completion and description*/ +/** + Separator between completion and description +*/ #define COMPLETE_SEP L'\004' -/** Separateor between completion and description*/ + +/** + Separator between completion and description +*/ #define COMPLETE_SEP_STR L"\004" +/** + Separator between completion items in fish_pager. This is used for + completion grouping, e.g. when putting completions with the same + descriptions on the same line. +*/ #define COMPLETE_ITEM_SEP L'\uf500' /** - Character that separates the completion and description on programmable completions + Character that separates the completion and description on + programmable completions */ #define PROG_COMPLETE_SEP L'\t' |