[Python-checkins] python/dist/src/Lib/plat-mac/lib-scriptpackages/Netscape Text.py,1.4,1.5 __init__.py,1.4,1.5

jackjansen@users.sourceforge.net jackjansen@users.sourceforge.net
2003年3月30日 14:42:21 -0800


Update of /cvsroot/python/python/dist/src/Lib/plat-mac/lib-scriptpackages/Netscape
In directory sc8-pr-cvs1:/tmp/cvs-serv17412/Netscape
Modified Files:
	Text.py __init__.py 
Log Message:
Regenerated again, now clases are sorted by code, and with synonyms after
the primary name.
Index: Text.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/plat-mac/lib-scriptpackages/Netscape/Text.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** Text.py	28 Mar 2003 23:37:57 -0000	1.4
--- Text.py	30 Mar 2003 22:41:48 -0000	1.5
***************
*** 17,20 ****
--- 17,45 ----
 
 
+ class text(aetools.ComponentItem):
+ 	"""text - independent text view objects """
+ 	want = 'ctxt'
+ 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 '
+ 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']
+ 
 class styleset(aetools.ComponentItem):
 	"""styleset - A style \xd2set\xd3 that may be used repeatedly in text objects. """
***************
*** 46,85 ****
 
 stylesets = styleset
- 
- class text(aetools.ComponentItem):
- 	"""text - independent text view objects """
- 	want = 'ctxt'
- 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 '
- 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 = {
- 	'color' : color,
- 	'font' : font,
- 	'name' : name,
- 	'size' : size,
- 	'style' : style,
- 	'writing_code' : writing_code,
- }
- styleset._privelemdict = {
- }
 text._superclassnames = []
 text._privpropdict = {
--- 71,74 ----
***************
*** 92,95 ****
--- 81,95 ----
 text._privelemdict = {
 	'styleset' : styleset,
+ }
+ styleset._superclassnames = []
+ styleset._privpropdict = {
+ 	'color' : color,
+ 	'font' : font,
+ 	'name' : name,
+ 	'size' : size,
+ 	'style' : style,
+ 	'writing_code' : writing_code,
+ }
+ styleset._privelemdict = {
 }
 
Index: __init__.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/plat-mac/lib-scriptpackages/Netscape/__init__.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** __init__.py	29 Mar 2003 00:13:15 -0000	1.4
--- __init__.py	30 Mar 2003 22:41:49 -0000	1.5
***************
*** 62,65 ****
--- 62,67 ----
 getbaseclasses(window)
 getbaseclasses(application)
+ getbaseclasses(text)
+ getbaseclasses(styleset)
 getbaseclasses(StdSuites.Text_Suite.text_flow)
 getbaseclasses(StdSuites.Text_Suite.character)
***************
*** 69,74 ****
 getbaseclasses(StdSuites.Text_Suite.paragraph)
 getbaseclasses(StdSuites.Text_Suite.text)
- getbaseclasses(text)
- getbaseclasses(styleset)
 
 #
--- 71,74 ----
***************
*** 78,81 ****
--- 78,83 ----
 	'cwin' : window,
 	'capp' : application,
+ 	'ctxt' : text,
+ 	'stys' : styleset,
 	'cflo' : StdSuites.Text_Suite.text_flow,
 	'cha ' : StdSuites.Text_Suite.character,
***************
*** 85,90 ****
 	'cpar' : StdSuites.Text_Suite.paragraph,
 	'ctxt' : StdSuites.Text_Suite.text,
- 	'ctxt' : text,
- 	'stys' : styleset,
 }
 
--- 87,90 ----

AltStyle によって変換されたページ (->オリジナル) /