Mercurial > emacs
view lwlib/lwlib-utils.h @ 9407:4dcc0221b449
* indent.c: #include "region-cache.h".
(character_width, disptab_matches_widthtab, recompute_width_table,
width_run_cache_on_off): New functions.
(compute_motion): Call width_run_cache_on_off. If this buffer's
width run cache is enabled, consult it to see if we need to
traverse a region character-by-character; store information in the
cache after doing so. Call find_before_next_newline instead of
writing out an equivalent loop explicitly, to take advantage of
the newline cache.
Doc fixes.
author | Jim Blandy <jimb@redhat.com> |
---|---|
date | Sat, 08 Oct 1994 22:14:04 +0000 |
parents | 118a6ad56ae0 |
children | 6ed38ee607e9 |
line wrap: on
line source
#ifndef _LWLIB_UTILS_H_ #define _LWLIB_UTILS_H_ void XtNoClearRefreshWidget (/* Widget */); typedef void (*XtApplyToWidgetsProc) (/* Widget, XtPointer */); typedef void* (*XtApplyUntilToWidgetsProc) (/* Widget, XtPointer */); void XtApplyToWidgets (/* Widget, XtApplyToWidgetsProc, XtPointer */); void *XtApplyUntilToWidgets (/* Widget, XtApplyUntilToWidgetsProc, XtPointer */); Widget *XtCompositeChildren (/* Widget, unsigned int * */); /* returns True is the widget is being destroyed, False otherwise */ Boolean XtWidgetBeingDestroyedP (/* Widget widget */); void XtSafelyDestroyWidget (/* Widget */); #endif /* _LWLIB_UTILS_H_ */