Mercurial > emacs
annotate lwlib/lwlib-utils.h @ 82453:d04e217671f9
(ada-create-syntax-table): Move
set-syntax-table from here to ...
(ada-mode): ... here. Do not change global value of
comment-multi-line. Call new function
ada-initialize-syntax-table-properties and add new function
ada-handle-syntax-table-properties to font-lock-mode-hook.
(ada-deactivate-properties, ada-initialize-properties): Replace
by new functions ...
(ada-handle-syntax-table-properties)
(ada-initialize-syntax-table-properties)
(ada-set-syntax-table-properties): ... to set up syntax-table
properties uniformly, independently from whether font-lock-mode
is enabled or not. Handle read-only buffers and do not change
undo-list when setting syntax-table properties.
(ada-after-change-function): Use ada-set-syntax-table-properties.
author | Martin Rudalics <rudalics@gmx.at> |
---|---|
date | Sat, 18 Aug 2007 08:37:41 +0000 |
parents | 695cf19ef79e |
children | 375f2633d815 e16f43875a48 |
rev | line source |
---|---|
5626 | 1 #ifndef _LWLIB_UTILS_H_ |
2 #define _LWLIB_UTILS_H_ | |
3 | |
29466 | 4 void XtNoClearRefreshWidget __P ((Widget)); |
5626 | 5 |
29466 | 6 typedef void (*XtApplyToWidgetsProc) __P ((Widget, XtPointer)); |
7 typedef void* (*XtApplyUntilToWidgetsProc) __P ((Widget, XtPointer)); | |
5626 | 8 |
29466 | 9 void XtApplyToWidgets __P ((Widget, XtApplyToWidgetsProc, XtPointer)); |
10 void *XtApplyUntilToWidgets __P ((Widget, XtApplyUntilToWidgetsProc, XtPointer)); | |
5626 | 11 |
29466 | 12 Widget *XtCompositeChildren __P ((Widget, unsigned int *)); |
5626 | 13 |
14 /* returns True is the widget is being destroyed, False otherwise */ | |
15 Boolean | |
29466 | 16 XtWidgetBeingDestroyedP __P ((Widget widget)); |
5626 | 17 |
29466 | 18 void XtSafelyDestroyWidget __P ((Widget)); |
5626 | 19 |
20 #endif /* _LWLIB_UTILS_H_ */ | |
52401 | 21 |
22 /* arch-tag: 705efd86-9319-4447-80f6-16aa5b349809 | |
23 (do not change this comment) */ |