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 /fish_pager.c | |
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 'fish_pager.c')
-rw-r--r-- | fish_pager.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/fish_pager.c b/fish_pager.c index c3053297..e947a362 100644 --- a/fish_pager.c +++ b/fish_pager.c @@ -97,13 +97,34 @@ static wchar_t *hightlight_var[] = static string_buffer_t out_buff; static FILE *out_file; +/** + Data structure describing one or a group of related completions + */ typedef struct { + /** + The list of all completin strings this entry applies to + */ array_list_t *comp; + /** + The description + */ wchar_t *desc; + /** + On-screen width of the completion string + */ int comp_width; + /** + On-screen width of the description information + */ int desc_width; + /** + Preffered total width + */ int pref_width; + /** + Minimum acceptable width + */ int min_width; } comp_t; |