aboutsummaryrefslogtreecommitdiff
path: root/doc/09_Themes.md
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2013-10-02 22:45:27 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2013-10-02 22:45:27 -0400
commitb3c832b412f2466c53b6a57d41899ace6836c89d (patch)
tree2e28af92ecd97db720dd52c2ff63ddca9485c22c /doc/09_Themes.md
parent29e54d24e0759693c1fb42a3dafbc7fe29a9d3a7 (diff)
downloadtextadept-b3c832b412f2466c53b6a57d41899ace6836c89d.tar.gz
textadept-b3c832b412f2466c53b6a57d41899ace6836c89d.zip
Changed `ui.set_theme()` API to accept a table of properties to assign.
Diffstat (limited to 'doc/09_Themes.md')
-rw-r--r--doc/09_Themes.md2
1 files changed, 1 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')