|
@@ -78,7 +78,7 @@ happens:
|
|
|
current position is added verbatim to the output list, and the cursor
|
|
|
advances by one position.
|
|
|
5. When the end of the input text is reached, if the configuration indicates
|
|
|
- that capitalization is required (this is true by default), te first element
|
|
|
+ that capitalization is required (this is true by default), the first element
|
|
|
of the output list is capitalized.
|
|
|
6. The output list is joined into one string.
|
|
|
7. The string is compacted by removing excessive whitespace: Two or more
|
|
@@ -118,7 +118,7 @@ registered as constants under `scriptshifter.exceptions`.
|
|
|
|
|
|
The following members of the context object are available in all the hooks:
|
|
|
|
|
|
-- `ctx.src`: Source text. It should not be reassigned.
|
|
|
+- `ctx.src`: Source text. Read only.
|
|
|
- `ctx.general`: Configuration general options.
|
|
|
- `ctx.langsec`: language section (S2R or R2S) of configuration.
|
|
|
- `ctx.options`: language-specific options defined in configuration and set
|