annotate etc/schema/xhtml-edit.rnc @ 91999:a58e06f6236c
Extend [hv]scroll support to per-window properties.
(image-mode-current-vscroll, image-mode-current-hscroll): Remove.
(image-mode-winprops-alist): New var to replace them.
(image-mode-new-window-functions): New hook.
(image-mode-winprops, image-mode-window-get, image-mode-window-put): New funs.
(image-set-window-vscroll, image-set-window-hscroll): Use them.
Remove the `window' argument, update callers.
(image-mode-reapply-winprops): Rename image-reset-current-vhscroll.
Use the new functions.
(image-mode-reapply-winprops): New fun.
(image-mode): Use it.
author |
Stefan Monnier <monnier@iro.umontreal.ca> |
date |
Thu, 21 Feb 2008 03:27:15 +0000 |
parents |
38f93f3d00a2 |
children |
|
rev |
line source |
86361
|
1 # Edit Module
|
|
2
|
|
3 del = element del { del.attlist, Inline.model }
|
|
4 del.attlist = Edit.attrib
|
|
5 ins = element ins { ins.attlist, Inline.model }
|
|
6 ins.attlist = Edit.attrib
|
|
7 Edit.attrib =
|
|
8 attribute cite { URI.datatype }?,
|
|
9 attribute datetime { Datetime.datatype }?
|
|
10 Edit.class = del | ins
|
|
11 Inline.class |= Edit.class
|
|
12 Block.class |= Edit.class
|