Edit configurations (pre-1.5)
The power of the INI files help us customizing textworker easily! But the only way to do it is open the configuration file and edit it.
Last updated
The power of the INI files help us customizing textworker easily! But the only way to do it is open the configuration file and edit it.
Last updated
Please take a look at this page.
Hint: If you don't see any of these files, please create .config and .logs folders under your home folder first, then open the app. If you still don't see anything, open the app from terminal.
Since texteditor 1.3, I've added a button which can open the file easily - it's under the Config menu:
On the first run, Texteditor automatically creates configuration file(s) - it will like this:
All sections available this time are: global, popups, cmd and filemgr. There will be more in future releases.
Let's see what do they mean...
Description: Define the entrie UI in texteditor what to do. Usually it's font color, background...
color = UI background. You only can use light
or dark
.
sub_color = font color. Available colors defined in constants: default (depends on the UI color), green, blue, red. You can't use green/blue/red if the color variable = light
(version 1.4+) autocolor_mode: You can turn it on or off (choose "yes" or "no") - this uses for automatically changes the application theme sync with the system. Disabled by the default.
font = font style. The default font style is Consolas.
font_size = font size: The default is 14.
Description: Define how popup windows (in Tkinter they're TopLevel) work.
width and height: width and height of the window (in pixel).
Description: Configs the Command Window widget.
defconsole
: Default terminal EMULATOR (NOT shell please) - in Linux it's xterm, and Windows is cmd.
isenabled
: Whetever enable this widget or not. Only accept yes
or no
.
writelog
(not implemented yet): It should be in global section - write logs into a file and nothing more.
Description: File manager class - now only autosave is implemented.
autosave
: Enable autosaving or not - only affect to the current opening tab. Only accept yes
or no
.
autosave-time
: Autosave time delay (in seconds): 30 - 60 (1 minute) - 900 (15 mins) - 1200 (20 mins) and 1800 (30 mins)
Just change the default value to any accepted value, then restart the application.
Start from version 1.3, we have some new configurations - both of them are accessible on Config menu:
Toggle dark (or light mode): switch your theme to dark/light mode.
Wrap (by word): Enable wrap (or disable it) for the editor
To turn a configuration on, set it to "yes". To turn off just set to "no".
There is a button in the config menu - yelp, just click OK on the new message and restart the application. Done!