diff options
author | 2013-10-02 22:45:27 -0400 | |
---|---|---|
committer | 2013-10-02 22:45:27 -0400 | |
commit | b3c832b412f2466c53b6a57d41899ace6836c89d (patch) | |
tree | 2e28af92ecd97db720dd52c2ff63ddca9485c22c /doc/09_Themes.md | |
parent | 29e54d24e0759693c1fb42a3dafbc7fe29a9d3a7 (diff) | |
download | textadept-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.md | 2 |
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') |