aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/09_Themes.md2
-rw-r--r--doc/14_Appendix.md2
2 files changed, 3 insertions, 1 deletions
diff --git a/doc/09_Themes.md b/doc/09_Themes.md
index a940f4c9..6c245a34 100644
--- a/doc/09_Themes.md
+++ b/doc/09_Themes.md
@@ -59,7 +59,7 @@ parameters, or create an abbreviated *~/.textadept/themes/light.lua* using Lua's
`dofile()` function. For example:
-- File *~/.textadept/init.lua*
- ui.set_theme('light', 'font', 'Monospace', 'fontsize', 12)
+ ui.set_theme('light', {font = 'Monospace', fontsize = 12})
-- File *~/.textadept/themes/light.lua*
dofile(_HOME..'/themes/light.lua')
diff --git a/doc/14_Appendix.md b/doc/14_Appendix.md
index 06a1bd08..d6512cdf 100644
--- a/doc/14_Appendix.md
+++ b/doc/14_Appendix.md
@@ -204,6 +204,7 @@ find.goto\_file\_in\_list() |Renamed |find.[goto\_file\_found()][]
select\_theme |Removed |N/A
N/A |New |[dialogs][]
filteredlist |Removed |N/A
+set\_theme(name, ...) |Changed |[set\_theme][](name, table)
**io** | |
try\_encodings |Renamed |[encodings][]
open\_file(string) |Changed |[open\_file][](string or table)
@@ -251,6 +252,7 @@ close\_all() |Renamed |[close\_all\_buffers()][]
[maximized]: api/ui.html#maximized
[goto\_file\_found()]: api/ui.find.html#goto_file_found
[dialogs]: api/ui.dialogs.html
+[set\_theme]: api/ui.html#set_theme
[encodings]: api/io.html#encodings
[open\_file]: api/io.html#open_file
[snapopen]: api/io.html#snapopen