diff options
-rw-r--r-- | doc/09_Themes.md | 2 | ||||
-rw-r--r-- | doc/14_Appendix.md | 2 | ||||
-rw-r--r-- | modules/textadept/snippets.lua | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/doc/09_Themes.md b/doc/09_Themes.md index 70159710..eda6e47a 100644 --- a/doc/09_Themes.md +++ b/doc/09_Themes.md @@ -64,7 +64,7 @@ parameters, or create an abbreviated *~/.textadept/themes/light.lua* using Lua's -- File *~/.textadept/themes/light.lua* dofile(_HOME..'/themes/light.lua') buffer.property['font'] = 'Monospace' - buffer.property['fontsize'] = size + buffer.property['fontsize'] = 12 Either one loads Textadept's "light" theme, but applies your font preferences. The same techniques work for tweaking individual theme colors and/or styles, but diff --git a/doc/14_Appendix.md b/doc/14_Appendix.md index f128c667..47135409 100644 --- a/doc/14_Appendix.md +++ b/doc/14_Appendix.md @@ -174,7 +174,7 @@ contextmenu |Removed |N/A **_M.textadept.run** | | MARK\_ERROR\_BACK |Renamed |[ERROR\_COLOR][] **_M.textadept.snapopen** |Removed |N/A -open |Changed |\_G.[io.snapopen()][]<sup>†</sup> +open |Changed |\_G.[io.snapopen()][]<sup>‡</sup> **events** | | handlers |Removed |N/A **gui** | | diff --git a/modules/textadept/snippets.lua b/modules/textadept/snippets.lua index 1ab6d03a..9c873297 100644 --- a/modules/textadept/snippets.lua +++ b/modules/textadept/snippets.lua @@ -31,7 +31,7 @@ local M = {} -- -- ### `%`*n* -- --- Represents a mirrors, where *n* is an integer. Mirrors with the same *n* as a +-- Represents a mirror, where *n* is an integer. Mirrors with the same *n* as a -- placeholder mirror any user input in the placeholder. If no placeholder -- exists for *n*, the first occurrence of that mirror in the snippet becomes -- the placeholder, but with no default text. Examples are @@ -41,7 +41,7 @@ local M = {} -- -- ### `%`*n*`<`*Lua code*`>`<br/>`%`*n*`[`*Shell code*`]` -- --- Represents a transforms, where *n* is an integer, *Lua code* is arbitrary Lua +-- Represents a transform, where *n* is an integer, *Lua code* is arbitrary Lua -- code, and *Shell code* is arbitrary Shell code. Textadept executes the code -- when the editor visits placeholder *n*. If the transform omits *n*, Textadept -- executes the transform's code the moment the editor inserts the snippet. |