diff options
Diffstat (limited to 'Lib/plat-mac/lib-scriptpackages/Netscape/Text.py')
-rw-r--r-- | Lib/plat-mac/lib-scriptpackages/Netscape/Text.py | 80 |
1 files changed, 40 insertions, 40 deletions
diff --git a/Lib/plat-mac/lib-scriptpackages/Netscape/Text.py b/Lib/plat-mac/lib-scriptpackages/Netscape/Text.py index 5878f9b..7a36509 100644 --- a/Lib/plat-mac/lib-scriptpackages/Netscape/Text.py +++ b/Lib/plat-mac/lib-scriptpackages/Netscape/Text.py @@ -16,31 +16,6 @@ class Text_Events(Text_Suite_Events): pass -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' - want = 'obj ' -class end(aetools.NProperty): - """end - Ending of element """ - which = 'end ' - want = 'obj ' -class infront(aetools.NProperty): - """infront - Immediately before element """ - which = 'pBef' - want = 'obj ' -class justbehind(aetools.NProperty): - """justbehind - Immediately after element """ - which = 'pAft' - want = 'obj ' -# element 'stys' as ['indx', 'name'] - class styleset(aetools.ComponentItem): """styleset - A style \xd2set\xd3 that may be used repeatedly in text objects. """ want = 'stys' @@ -70,17 +45,31 @@ class style(aetools.NProperty): want = 'tsty' stylesets = styleset -text._superclassnames = [] -text._privpropdict = { - 'updateLevel' : updateLevel, - 'beginning' : beginning, - 'end' : end, - 'infront' : infront, - 'justbehind' : justbehind, -} -text._privelemdict = { - 'styleset' : 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' + want = 'obj ' +class end(aetools.NProperty): + """end - Ending of element """ + which = 'end ' + want = 'obj ' +class infront(aetools.NProperty): + """infront - Immediately before element """ + which = 'pBef' + want = 'obj ' +class justbehind(aetools.NProperty): + """justbehind - Immediately after element """ + which = 'pAft' + want = 'obj ' +# element 'stys' as ['indx', 'name'] styleset._superclassnames = [] styleset._privpropdict = { 'name' : name, @@ -92,27 +81,38 @@ styleset._privpropdict = { } styleset._privelemdict = { } +text._superclassnames = [] +text._privpropdict = { + 'updateLevel' : updateLevel, + 'beginning' : beginning, + 'end' : end, + 'infront' : infront, + 'justbehind' : justbehind, +} +text._privelemdict = { + 'styleset' : styleset, +} # # Indices of types declared in this module # _classdeclarations = { - 'ctxt' : text, 'stys' : styleset, + 'ctxt' : text, } _propdeclarations = { - 'pBef' : infront, + 'ptsz' : size, 'bgng' : beginning, 'colr' : color, 'txst' : style, 'psct' : writing_code, 'pAft' : justbehind, + 'font' : font, 'end ' : end, - 'ptsz' : size, 'pUpL' : updateLevel, 'pnam' : name, - 'font' : font, + 'pBef' : infront, } _compdeclarations = { |