ondratu / formiko

reStructuredText editor and live previewer
Other
123 stars 9 forks source link

Changes to "tab_width" in the .ini file are ignored and reverted. #28

Closed tjnaughton closed 2 years ago

tjnaughton commented 3 years ago

Hi,

I've been looking for an editor for reST files and am very impressed with Formiko. Great editor! Running version 1.4.3 from Flathub on Ubuntu 18.04.

To reproduce:

  1. Edit file ~/.var/app/cz.zeropage.Formiko/config/formiko.ini by changing
    spaces_instead_of_tabs = False
    tab_width = 2

    to

    spaces_instead_of_tabs = True
    tab_width = 4
  2. Run with flatpak run cz.zeropage.Formiko
  3. Enter a tab in the editor to observe that only two spaces are printed.
  4. Close Formiko
  5. Open .ini file and observe that the setting has reverted totab_width = 2.

Changes to the boolean options in the .ini file are remembered between sessions, and do have the desired effects in the editor.