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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5626
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1 #ifndef _LWLIB_UTILS_H_
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2 #define _LWLIB_UTILS_H_
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3
29466
6ed38ee607e9 Enable prototypes.
Dave Love <fx@gnu.org>
parents: 5707
diff changeset
4 void XtNoClearRefreshWidget __P ((Widget));
5626
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
5
29466
6ed38ee607e9 Enable prototypes.
Dave Love <fx@gnu.org>
parents: 5707
diff changeset
6 typedef void (*XtApplyToWidgetsProc) __P ((Widget, XtPointer));
6ed38ee607e9 Enable prototypes.
Dave Love <fx@gnu.org>
parents: 5707
diff changeset
7 typedef void* (*XtApplyUntilToWidgetsProc) __P ((Widget, XtPointer));
5626
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
8
29466
6ed38ee607e9 Enable prototypes.
Dave Love <fx@gnu.org>
parents: 5707
diff changeset
9 void XtApplyToWidgets __P ((Widget, XtApplyToWidgetsProc, XtPointer));
6ed38ee607e9 Enable prototypes.
Dave Love <fx@gnu.org>
parents: 5707
diff changeset
10 void *XtApplyUntilToWidgets __P ((Widget, XtApplyUntilToWidgetsProc, XtPointer));
5626
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
11
29466
6ed38ee607e9 Enable prototypes.
Dave Love <fx@gnu.org>
parents: 5707
diff changeset
12 Widget *XtCompositeChildren __P ((Widget, unsigned int *));
5626
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
13
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
14 /* returns True is the widget is being destroyed, False otherwise */
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
15 Boolean
29466
6ed38ee607e9 Enable prototypes.
Dave Love <fx@gnu.org>
parents: 5707
diff changeset
16 XtWidgetBeingDestroyedP __P ((Widget widget));
5626
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
17
29466
6ed38ee607e9 Enable prototypes.
Dave Love <fx@gnu.org>
parents: 5707
diff changeset
18 void XtSafelyDestroyWidget __P ((Widget));
5626
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
19
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
20 #endif /* _LWLIB_UTILS_H_ */
52401
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 29466
diff changeset
21
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 29466
diff changeset
22 /* arch-tag: 705efd86-9319-4447-80f6-16aa5b349809
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 29466
diff changeset
23 (do not change this comment) */