Changes

Jump to navigation Jump to search
75 bytes added ,  08:00, 10 August 2018
Added a line of code for the new method of switching themes in TA10.
=== Themes & editor font changes ===
You can change the theme, font and font size of Textadept with the following line
ui.set_theme('dark', {font = 'Monospace', fontsize = 10}) -- Textadept v9 buffer:set_theme('dark', {font = 'Monospace', fontsize = 10}) -- Textadept v10in which the expression '''dark''' is the filename of the theme located in either in <code>Textadept\themes</code> or you can download and add new themes to <code>USER\.textadept\themes</code>(after you created or downloaded and added them; create the folder if as itusually won's not t be there yet).
* Many ''base16'' themes for Textadept can be found at [https://github.com/rgieseke/textadept-themes Robert Gieseke's GitHub]. You can preview them [https://termux.com/add-on-styling-color-preview.html here] or [https://chriskempson.github.io/base16/ here] (partially).
* There are more settings which you can look up in Textadept's [https://foicica.com/textadept/manual.html#Themes manual].
snippets.context['ital'] = '{\\it %<selected_text>%0}' -- italic text/math
snippets.context['bold'] = '{\\bf %<selected_text>%0}' -- bold text/math
snippets.context['boldboldit'] = '{\\bi %<selected_text>%0}' -- bold italic text/math
snippets.context['start'] = '\\start%1\n\t%0\n\\stop%1'
snippets.context['itemize'] = '\\startitemize[packed]\n\t\\startitem\n\t\t%<selected_text>%0\n\t\\stopitem\n\\stopitemize' -- start itemization
* Read more about snippets in Textadept's [https://foicica.com/textadept/api.html#textadept.snippets manual].
 
=3rd party projects=
194

edits

Navigation menu