diff options
| author | Jack Jansen <jack.jansen@cwi.nl> | 2003-03-28 23:38:00 (GMT) |
|---|---|---|
| committer | Jack Jansen <jack.jansen@cwi.nl> | 2003-03-28 23:38:00 (GMT) |
| commit | d4885f87fa203587b4f5cfd5961f7acbbe36c3c0 (patch) | |
| tree | 71f457810871e028e1ddee19f92ac17a1a62c3ef /Lib/plat-mac/lib-scriptpackages/Netscape/Text.py | |
| parent | 00c348328bacfa137441f9a28413e7782534e1c6 (diff) | |
| download | cpython-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/Netscape/Text.py')
| -rw-r--r-- | Lib/plat-mac/lib-scriptpackages/Netscape/Text.py | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/Lib/plat-mac/lib-scriptpackages/Netscape/Text.py b/Lib/plat-mac/lib-scriptpackages/Netscape/Text.py index 7a36509..82bcd3c 100644 --- a/Lib/plat-mac/lib-scriptpackages/Netscape/Text.py +++ b/Lib/plat-mac/lib-scriptpackages/Netscape/Text.py @@ -19,10 +19,6 @@ class Text_Events(Text_Suite_Events): class styleset(aetools.ComponentItem): """styleset - A style \xd2set\xd3 that may be used repeatedly in text objects. """ want = 'stys' -class name(aetools.NProperty): - """name - style name """ - which = 'pnam' - want = 'TEXT' class color(aetools.NProperty): """color - the color """ which = 'colr' @@ -31,28 +27,28 @@ class font(aetools.NProperty): """font - font name """ which = 'font' want = 'TEXT' +class name(aetools.NProperty): + """name - style name """ + which = 'pnam' + want = 'TEXT' class size(aetools.NProperty): """size - the size in points """ which = 'ptsz' want = 'long' -class writing_code(aetools.NProperty): - """writing code - the script system and language """ - which = 'psct' - want = 'tsty' class style(aetools.NProperty): """style - the text styles or face attributes """ which = 'txst' want = 'tsty' +class writing_code(aetools.NProperty): + """writing code - the script system and language """ + which = 'psct' + want = 'tsty' stylesets = styleset class text(aetools.ComponentItem): """text - independent text view objects """ want = 'ctxt' -class updateLevel(aetools.NProperty): - """updateLevel - updating level. Can only be incremented or decremented. Do so only in a try block -- if the level is greater than zero, visual text updating will cease. """ - which = 'pUpL' - want = 'long' class beginning(aetools.NProperty): """beginning - Beginning of element """ which = 'bgng' @@ -69,25 +65,29 @@ class justbehind(aetools.NProperty): """justbehind - Immediately after element """ which = 'pAft' want = 'obj ' +class updateLevel(aetools.NProperty): + """updateLevel - updating level. Can only be incremented or decremented. Do so only in a try block -- if the level is greater than zero, visual text updating will cease. """ + which = 'pUpL' + want = 'long' # element 'stys' as ['indx', 'name'] styleset._superclassnames = [] styleset._privpropdict = { - 'name' : name, 'color' : color, 'font' : font, + 'name' : name, 'size' : size, - 'writing_code' : writing_code, 'style' : style, + 'writing_code' : writing_code, } styleset._privelemdict = { } text._superclassnames = [] text._privpropdict = { - 'updateLevel' : updateLevel, 'beginning' : beginning, 'end' : end, 'infront' : infront, 'justbehind' : justbehind, + 'updateLevel' : updateLevel, } text._privelemdict = { 'styleset' : styleset, @@ -97,22 +97,22 @@ text._privelemdict = { # Indices of types declared in this module # _classdeclarations = { - 'stys' : styleset, 'ctxt' : text, + 'stys' : styleset, } _propdeclarations = { - 'ptsz' : size, 'bgng' : beginning, 'colr' : color, - 'txst' : style, - 'psct' : writing_code, - 'pAft' : justbehind, - 'font' : font, 'end ' : end, + 'font' : font, + 'pAft' : justbehind, + 'pBef' : infront, 'pUpL' : updateLevel, 'pnam' : name, - 'pBef' : infront, + 'psct' : writing_code, + 'ptsz' : size, + 'txst' : style, } _compdeclarations = { |
