Changeset aa2f33b3 for help.c


Ignore:
Timestamp:
Jul 16, 2002, 9:55:47 PM (18 years ago)
Author:
Erik Nygren <nygren@mit.edu>
Branches:
master, barnowl_perlaim, debian, owl, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
f2e36b5
Parents:
e50cd56
Message:
	Variables now have a summary and a long description.
	        Only the summary is shown with help.
		The long description is shown with "show variable foo".
        Fix the scrolling bug where we would sometimes fail to scroll
             the screen down, leaving the current message off
             the bottom of the screen.
        Added a 'scrollmode' variable which determines how the screen
	     will scroll as the cursor moves.  The default behaves
	     identically to previous versions of owl.
             The following modes are supported:
	     normal      - This is the owl default.  Scrolling happens
	                   when it needs to, and an attempt is made to
	                   keep the current message roughly near
	                   the middle of the screen.  (default)
	     top         - The current message will always be the
	                   the top message displayed.
	     neartop     - The current message will be one down
	                   from the top message displayed,
	                   where possible.
	     center      - An attempt is made to keep the current
	                   message near the center of the screen.
	     paged       - The top message displayed only changes
	                   when user moves the cursor to the top
	                   or bottom of the screen.  When it moves,
	                   the screen will be paged up or down and
	                   the cursor will be near the top or
	                   the bottom.
	     pagedcenter - The top message displayed only changes
	                   when user moves the cursor to the top
	                   or bottom of the screen.  When it moves,
	                   the screen will be paged up or down and
	                   the cursor will be near the center.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • help.c

    r6794f72 raa2f33b3  
    105105                         "Variables:\n");
    106106  owl_variable_dict_get_names(owl_global_get_vardict(&g), &varnames);
    107   owl_variable_get_summaryheader(&fm);
    108107  numvarnames = owl_list_get_size(&varnames);
    109108  for (i=0; i<numvarnames; i++) {
    110109    varname = owl_list_get_element(&varnames, i);
    111110    if (varname && varname[0]!='_') {
    112       owl_variable_get_summary(owl_global_get_vardict(&g), varname, &fm);
     111      owl_variable_describe(owl_global_get_vardict(&g), varname, &fm);
    113112    }
    114113  }
Note: See TracChangeset for help on using the changeset viewer.