summaryrefslogtreecommitdiffstats
path: root/Lib/plat-mac/lib-scriptpackages/StdSuites/Text_Suite.py
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2003-03-28 23:38:00 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2003-03-28 23:38:00 (GMT)
commitd4885f87fa203587b4f5cfd5961f7acbbe36c3c0 (patch)
tree71f457810871e028e1ddee19f92ac17a1a62c3ef /Lib/plat-mac/lib-scriptpackages/StdSuites/Text_Suite.py
parent00c348328bacfa137441f9a28413e7782534e1c6 (diff)
downloadcpython-d4885f87fa203587b4f5cfd5961f7acbbe36c3c0.zip
cpython-d4885f87fa203587b4f5cfd5961f7acbbe36c3c0.tar.gz
cpython-d4885f87fa203587b4f5cfd5961f7acbbe36c3c0.tar.bz2
Sigh: didn't catch all lists that needed to be sorted. Regenerated again.
Diffstat (limited to 'Lib/plat-mac/lib-scriptpackages/StdSuites/Text_Suite.py')
-rw-r--r--Lib/plat-mac/lib-scriptpackages/StdSuites/Text_Suite.py44
1 files changed, 22 insertions, 22 deletions
diff --git a/Lib/plat-mac/lib-scriptpackages/StdSuites/Text_Suite.py b/Lib/plat-mac/lib-scriptpackages/StdSuites/Text_Suite.py
index dd5b3f4..bdf1baa 100644
--- a/Lib/plat-mac/lib-scriptpackages/StdSuites/Text_Suite.py
+++ b/Lib/plat-mac/lib-scriptpackages/StdSuites/Text_Suite.py
@@ -54,10 +54,6 @@ class size(aetools.NProperty):
"""size - the size in points of the first character """
which = 'ptsz'
want = 'fixd'
-class writing_code(aetools.NProperty):
- """writing code - the script system and language """
- which = 'psct'
- want = 'intl'
class style(aetools.NProperty):
"""style - the text style of the first character of the first character """
which = 'txst'
@@ -66,6 +62,10 @@ class uniform_styles(aetools.NProperty):
"""uniform styles - the text styles that are uniform throughout the text """
which = 'ustl'
want = 'tsty'
+class writing_code(aetools.NProperty):
+ """writing code - the script system and language """
+ which = 'psct'
+ want = 'intl'
# element 'cha ' as ['indx']
# element 'clin' as ['indx']
# element 'cpar' as ['indx']
@@ -85,14 +85,14 @@ text_flows = text_flow
class text_style_info(aetools.ComponentItem):
"""text style info - On and Off styles of text run """
want = 'tsty'
-class on_styles(aetools.NProperty):
- """on styles - the styles that are on for the text """
- which = 'onst'
- want = 'styl'
class off_styles(aetools.NProperty):
"""off styles - the styles that are off for the text """
which = 'ofst'
want = 'styl'
+class on_styles(aetools.NProperty):
+ """on styles - the styles that are on for the text """
+ which = 'onst'
+ want = 'styl'
text_style_infos = text_style_info
@@ -125,9 +125,9 @@ text._privpropdict = {
'color' : color,
'font' : font,
'size' : size,
- 'writing_code' : writing_code,
'style' : style,
'uniform_styles' : uniform_styles,
+ 'writing_code' : writing_code,
}
text._privelemdict = {
'character' : character,
@@ -145,8 +145,8 @@ text_flow._privelemdict = {
}
text_style_info._superclassnames = []
text_style_info._privpropdict = {
- 'on_styles' : on_styles,
'off_styles' : off_styles,
+ 'on_styles' : on_styles,
}
text_style_info._privelemdict = {
}
@@ -186,33 +186,33 @@ _Enum_styl = {
# Indices of types declared in this module
#
_classdeclarations = {
- 'cpar' : paragraph,
- 'cha ' : character,
'cflo' : text_flow,
- 'tsty' : text_style_info,
+ 'cha ' : character,
'clin' : line,
- 'cwor' : word,
+ 'cpar' : paragraph,
'ctxt' : text,
+ 'cwor' : word,
+ 'tsty' : text_style_info,
}
_propdeclarations = {
- 'ptsz' : size,
+ 'c@#^' : _3c_inheritance_3e_,
+ 'colr' : color,
+ 'font' : font,
'ofst' : off_styles,
+ 'onst' : on_styles,
'pjst' : justification,
- 'colr' : color,
- 'txst' : style,
+ 'pnam' : name,
'psct' : writing_code,
+ 'ptsz' : size,
+ 'txst' : style,
'ustl' : uniform_styles,
- 'c@#^' : _3c_inheritance_3e_,
- 'pnam' : name,
- 'font' : font,
- 'onst' : on_styles,
}
_compdeclarations = {
}
_enumdeclarations = {
- 'styl' : _Enum_styl,
'just' : _Enum_just,
+ 'styl' : _Enum_styl,
}