#1635 EditorConfig gets confused after buffer save with :tabSize=

Hong Xu

I discovered .editorconfig has priority over jedit properties inside the file, like :tabSize=8:
However jedit reads these properties also at buffer save, while EditorConfig does not. EditorConfig behaviour should be consistent and not change after buffer save. Maybe after save the editor config should reload the properties, like it does after load.

To reproduce:
1. .editorconfig
tab_width = 3
indent_size = 3

2. inside the file:

After opening the file, tab moves by 3. After save: by 8.

Expected behaviour: don't change the step after save.


  • Hong Xu

    Hong Xu - 2012-08-11

    Modeline is expected to have higher priority. However, I am wondering why modeline is loaded before all the three following BufferUpdate event:


    If modeline is loaded before all these event, then any plugin cannot do something before modeline is loaded?

  • Jarek Czekalski

    Jarek Czekalski - 2012-08-18

    How about reading modeline again after setting parameters read from .editorconfig?

  • Hong Xu

    Hong Xu - 2013-03-11

    Sorry I didn't see this notification. Do you have any idea how can I trigger the readline loading process? Thanks.

  • Hong Xu

    Hong Xu - 2013-06-02

    Any hints for me? Thanks!


Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks