Fix: Use default indentation mode for new files
ClosedPublic

Authored by dhaumann on May 19 2019, 11:44 AM.

Details

Summary

BUG: 375502

Test Plan

make && make test

Diff Detail

Repository
R39 KTextEditor
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
dhaumann created this revision.May 19 2019, 11:44 AM
Restricted Application added projects: Kate, Frameworks. · View Herald TranscriptMay 19 2019, 11:44 AM
Restricted Application added subscribers: kde-frameworks-devel, kwrite-devel. · View Herald Transcript
dhaumann requested review of this revision.May 19 2019, 11:44 AM

Alternatively, we could call updateConfig() at the end of the KateDocument constructor which does - among other things - the same.

Hmm, perhaps updateConfig would be better to not miss other stuff.

dhaumann updated this revision to Diff 58296.May 19 2019, 11:59 AM
  • Use updateConfig() to set indentation mode
This revision is now accepted and ready to land.May 19 2019, 12:48 PM
This revision was automatically updated to reflect the committed changes.