[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #51396] Saving file should not un-fold folded

From: Mike Miller
Subject: [Octave-bug-tracker] [bug #51396] Saving file should not un-fold folded code.
Date: Fri, 7 Jul 2017 15:00:15 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0

Follow-up Comment #8, bug #51396 (project octave):

I think this may be due to file_editor_tab::update_lexer, which is called even
when an existing file with a valid lexer is saved under the same name.

If I comment out the call to set_file_name in file_editor_tab::save_file, the
file is saved, the lexer is not changed, and the folds remain as they were.

Since we see different behavior with different scintilla versions, this may be
an intentional change in the scintilla project, but I haven't found any
documentation about it if so.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]