elementary / code

Code editor designed for elementary OS
https://elementary.io
GNU General Public License v3.0
476 stars 113 forks source link

Line-width guide keeps returning to default position with editor-config plugin active #974

Open jeremypw opened 3 years ago

jeremypw commented 3 years ago

Steps to Reproduce

  1. Make sure editor-config plugin is active
  2. Turn on line-width guide in preferences. Guide appears at 80 cols.
  3. Change from default of 80 to e.g. 120. Guide moves to 120 cols.
  4. Close preferences - the guide returns to 80 cols
  5. Press <Ctrl>= to set font size. Guide changes to 120
  6. Focus another window. Guide stays at 120
  7. Refocus the document. Guide returns to 80
  8. Turn off editor-config plugin. Guide returns to and stays at 120

Expected Behavior

The guide always shows at the position set by the user in Preferences

Logs

Platform Information

Elementary 6.0 daily.

jeremypw commented 3 years ago

Alternatively desensitize any setting in Preferences dialog that is overridden by the editor-config plugin.