Mercurial > emacs
view lwlib/lwlib-utils.h @ 26746:d22cd599a91a
(font-lock-default-fontify-region): Fix subtle
off-by-one problem that could force re-fontifying the whole buffer.
(font-lock-remove-keywords): New function.
(font-lock-add-keywords): Use the new function to ensure idempotence.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Tue, 07 Dec 1999 06:31:57 +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_ */