root/tags/2C10/Resources/NSTextSuite.scriptSuite

Revision 1802, 3.5 kB (checked in by timothy, 4 years ago)

Huge changes. Plugins are affected if they process incoming and outgoing messages and commands. AppleScript? plugins are still compatiable. ObjC plugins will need to support the new methods. This was done to simplify our plugin API (less methods).
* Plugins are now passed a mutable JVChatMessage (JVMutableChatMessage). They are free to modify anything in this message when their turn comes.
* There is only one processUserCommand method now, plugins are responsiable for determining the context with the passed view.
* AppleScripts? don't have to worry about HTML when processing incoming or outgoing messages, they can set attributes on the mutable message they get passed. (See the iTunes script.)
* AppleScripts? still use HTML to send messages if they want to include formatting.
* Other fixes...

Line 
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3 <plist version="1.0">
4 <dict>
5         <key>AppleEventCode</key>
6         <string>????</string>
7         <key>Classes</key>
8         <dict>
9                 <key>NSAttachmentTextStorage</key>
10                 <dict>
11                         <key>AppleEventCode</key>
12                         <string>atts</string>
13                         <key>Attributes</key>
14                         <dict>
15                                 <key>filename</key>
16                                 <dict>
17                                         <key>AppleEventCode</key>
18                                         <string>atfn</string>
19                                         <key>Type</key>
20                                         <string>NSString</string>
21                                 </dict>
22                         </dict>
23                         <key>Superclass</key>
24                         <string>NSTextSuite.NSTextStorage</string>
25                 </dict>
26                 <key>NSTextStorage</key>
27                 <dict>
28                         <key>AppleEventCode</key>
29                         <string>ctxt</string>
30                         <key>Attributes</key>
31                         <dict>
32                                 <key>backgroundColor</key>
33                                 <dict>
34                                         <key>AppleEventCode</key>
35                                         <string>bCol</string>
36                                         <key>Type</key>
37                                         <string>NSColor</string>
38                                 </dict>
39                                 <key>boldState</key>
40                                 <dict>
41                                         <key>AppleEventCode</key>
42                                         <string>bOld</string>
43                                         <key>Type</key>
44                                         <string>NSNumber&lt;Bool&gt;</string>
45                                 </dict>
46                                 <key>fontName</key>
47                                 <dict>
48                                         <key>AppleEventCode</key>
49                                         <string>font</string>
50                                         <key>Type</key>
51                                         <string>NSString</string>
52                                 </dict>
53                                 <key>fontSize</key>
54                                 <dict>
55                                         <key>AppleEventCode</key>
56                                         <string>ptsz</string>
57                                         <key>Type</key>
58                                         <string>NSNumber</string>
59                                 </dict>
60                                 <key>foregroundColor</key>
61                                 <dict>
62                                         <key>AppleEventCode</key>
63                                         <string>colr</string>
64                                         <key>Type</key>
65                                         <string>NSColor</string>
66                                 </dict>
67                                 <key>hyperlink</key>
68                                 <dict>
69                                         <key>AppleEventCode</key>
70                                         <string>liNk</string>
71                                         <key>Type</key>
72                                         <string>NSString</string>
73                                 </dict>
74                                 <key>styleClasses</key>
75                                 <dict>
76                                         <key>AppleEventCode</key>
77                                         <string>stYc</string>
78                                         <key>Type</key>
79                                         <string>NSArray</string>
80                                 </dict>
81                                 <key>italicState</key>
82                                 <dict>
83                                         <key>AppleEventCode</key>
84                                         <string>iTlc</string>
85                                         <key>Type</key>
86                                         <string>NSNumber&lt;Bool&gt;</string>
87                                 </dict>
88                                 <key>underlineState</key>
89                                 <dict>
90                                         <key>AppleEventCode</key>
91                                         <string>unDl</string>
92                                         <key>Type</key>
93                                         <string>NSNumber&lt;Bool&gt;</string>
94                                 </dict>
95                         </dict>
96                         <key>Superclass</key>
97                         <string>NSCoreSuite.AbstractObject</string>
98                         <key>ToManyRelationships</key>
99                         <dict>
100                                 <key>attachments</key>
101                                 <dict>
102                                         <key>AppleEventCode</key>
103                                         <string>atts</string>
104                                         <key>LocationRequiredToCreate</key>
105                                         <string>No</string>
106                                         <key>Type</key>
107                                         <string>NSAttachmentTextStorage</string>
108                                 </dict>
109                                 <key>attributeRuns</key>
110                                 <dict>
111                                         <key>AppleEventCode</key>
112                                         <string>catr</string>
113                                         <key>Type</key>
114                                         <string>NSTextStorage</string>
115                                 </dict>
116                                 <key>characters</key>
117                                 <dict>
118                                         <key>AppleEventCode</key>
119                                         <string>cha </string>
120                                         <key>Type</key>
121                                         <string>NSTextStorage</string>
122                                 </dict>
123                                 <key>paragraphs</key>
124                                 <dict>
125                                         <key>AppleEventCode</key>
126                                         <string>cpar</string>
127                                         <key>Type</key>
128                                         <string>NSTextStorage</string>
129                                 </dict>
130                                 <key>words</key>
131                                 <dict>
132                                         <key>AppleEventCode</key>
133                                         <string>cwor</string>
134                                         <key>Type</key>
135                                         <string>NSTextStorage</string>
136                                 </dict>
137                         </dict>
138                 </dict>
139         </dict>
140         <key>Name</key>
141         <string>NSTextSuite</string>
142         <key>Synonyms</key>
143         <dict>
144                 <key>catr</key>
145                 <string>NSTextStorage</string>
146                 <key>cha </key>
147                 <string>NSTextStorage</string>
148                 <key>cpar</key>
149                 <string>NSTextStorage</string>
150                 <key>cwor</key>
151                 <string>NSTextStorage</string>
152         </dict>
153 </dict>
154 </plist>
Note: See TracBrowser for help on using the browser.