|
104 | 104 | </responds-to> |
105 | 105 | </class-extension> |
106 | 106 |
|
| 107 | + <class name="folder document" plural="folder documents" code="dDoc" inherits="document" description="A CotEditor folder document."> |
| 108 | + <cocoa class="CotEditor.DirectoryDocument"/> |
| 109 | + <property name="current document" code="cDoc" type="document" access="r" optional="yes" description="The current document in the folder document."> |
| 110 | + <cocoa key="scriptCurrentDocument"/> |
| 111 | + </property> |
| 112 | + </class> |
| 113 | + |
107 | 114 | <class name="text selection" plural="text selections" code="tSel" description="A way to refer to the state of the current selection."> |
108 | 115 | <cocoa class="CotEditor.TextSelection"/> |
109 | 116 | <access-group identifier="com.coteditor.CotEditor.edit" access="rw"/> |
|
221 | 228 | <parameter name="RE" code="rEex" type="boolean" optional="yes" description="Is the search text regular expression?"> |
222 | 229 | <cocoa key="regularExpression"/> |
223 | 230 | </parameter> |
224 | | - <parameter name="wrap" code="wRsc" type="boolean" optional="yes" description="Should the search wrapped?"> |
| 231 | + <parameter name="wrap" code="wRsc" type="boolean" optional="yes" description="Should the search wrap?"> |
225 | 232 | <cocoa key="wrapSearch"/> |
226 | 233 | </parameter> |
227 | 234 | <result type="boolean" description="Did the text found?"/> |
|
248 | 255 | <parameter name="all" code="aLl " type="boolean" optional="yes" description="Should all of the references be replaced?"> |
249 | 256 | <cocoa key="all"/> |
250 | 257 | </parameter> |
251 | | - <parameter name="backwards" code="bKwd" type="boolean" optional="yes" description="Should the replacement be performed backwards? Can not use with RE."> |
| 258 | + <parameter name="backwards" code="bKwd" type="boolean" optional="yes" description="Should the replacement be performed backwards? This option can’t be used with the RE option."> |
252 | 259 | <cocoa key="backwardsSearch"/> |
253 | 260 | </parameter> |
254 | 261 | <parameter name="ignore case" code="iGcs" type="boolean" optional="yes" description="Should case be ignored (case insensitive) on search?"> |
|
257 | 264 | <parameter name="RE" code="rEex" type="boolean" optional="yes" description="Is the search text regular expression?"> |
258 | 265 | <cocoa key="regularExpression"/> |
259 | 266 | </parameter> |
260 | | - <parameter name="wrap" code="wRsc" type="boolean" optional="yes" description="Should the search wrapped?"> |
| 267 | + <parameter name="wrap" code="wRsc" type="boolean" optional="yes" description="Should the search wrap?"> |
261 | 268 | <cocoa key="wrapSearch"/> |
262 | 269 | </parameter> |
263 | 270 | <result type="integer" description="The number of replaced texts."/> |
|
291 | 298 |
|
292 | 299 | <command name="move line up" code="cEd1SLup" description="Swap selected lines with the line just above."> |
293 | 300 | <access-group identifier="com.coteditor.CotEditor.edit" access="rw"/> |
294 | | - <direct-parameter type="text selection" description="The selection to move"/> |
| 301 | + <direct-parameter type="text selection" description="The selection to move."/> |
295 | 302 | </command> |
296 | 303 |
|
297 | | - <command name="move line down" code="cEd1SLdw" description="Swap selected lines with the line just below"> |
| 304 | + <command name="move line down" code="cEd1SLdw" description="Swap selected lines with the line just below."> |
298 | 305 | <access-group identifier="com.coteditor.CotEditor.edit" access="rw"/> |
299 | | - <direct-parameter type="text selection" description="The selection to move"/> |
| 306 | + <direct-parameter type="text selection" description="The selection to move."/> |
300 | 307 | </command> |
301 | 308 |
|
302 | | - <command name="sort lines" code="cEd1Sort" description="Sort selected lines ascending"> |
| 309 | + <command name="sort lines" code="cEd1Sort" description="Sort selected lines in ascending order."> |
303 | 310 | <access-group identifier="com.coteditor.CotEditor.edit" access="rw"/> |
304 | | - <direct-parameter type="text selection" description="The selection to sort"/> |
| 311 | + <direct-parameter type="text selection" description="The selection to sort."/> |
305 | 312 | </command> |
306 | 313 |
|
307 | | - <command name="reverse lines" code="cEd1Revl" description="Reverse selected lines"> |
| 314 | + <command name="reverse lines" code="cEd1Revl" description="Reverse selected lines."> |
308 | 315 | <access-group identifier="com.coteditor.CotEditor.edit" access="rw"/> |
309 | | - <direct-parameter type="text selection" description="The selection to reverse"/> |
| 316 | + <direct-parameter type="text selection" description="The selection to reverse."/> |
310 | 317 | </command> |
311 | 318 |
|
312 | | - <command name="delete duplicate line" code="cEd1Dldp" description="Delete duplicate lines in selection"> |
| 319 | + <command name="delete duplicate line" code="cEd1Dldp" description="Delete duplicate lines in the selection."> |
313 | 320 | <access-group identifier="com.coteditor.CotEditor.edit" access="rw"/> |
314 | | - <direct-parameter type="text selection" description="The selection to check duplication"/> |
| 321 | + <direct-parameter type="text selection" description="The selection to check duplication."/> |
315 | 322 | </command> |
316 | 323 |
|
317 | 324 | <command name="comment out" code="cEd1Cout" description="Append comment delimiters to the selected text."> |
318 | 325 | <access-group identifier="com.coteditor.CotEditor.edit" access="rw"/> |
319 | | - <direct-parameter type="text selection" description="The selection to comment out"/> |
| 326 | + <direct-parameter type="text selection" description="The selection to comment out."/> |
320 | 327 | </command> |
321 | 328 |
|
322 | 329 | <command name="uncomment" code="cEd1Uncm" description="Remove comment delimiters from the selected text."> |
|
0 commit comments