Bug 253193 - Kate forgets mode after saving file
Summary: Kate forgets mode after saving file
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
: 307041 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-10-04 02:21 UTC by Alessandro Ghersi
Modified: 2012-11-01 12:46 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alessandro Ghersi 2010-10-04 02:21:16 UTC
Version:           3.4.1 (using KDE 4.4.1) 
OS:                Linux

Bug reported here:
https://bugs.launchpad.net/ubuntu/+source/kdesdk/+bug/537621

I'm using Kate 3.4.1 (4.4.1-0ubuntu1~karmic1~ppa1) under KDE 4.4.1 under Kubuntu 9.10 to edit Ruby code. For that I choose Ruby mode, which gives me highlighting, indentation, autocompletion, etc. But each time I save the file I just edited, Kate forgets the mode I put it in and I have to switch Ruby mode back on again.

Reproducible: Didn't try
Comment 1 Becheru Petru-Ioan 2010-12-06 09:26:01 UTC
I think this bug is a duplicate of Bug 258980, that gives a much better description.
Comment 2 Christoph Cullmann 2012-11-01 01:33:04 UTC
*** Bug 307041 has been marked as a duplicate of this bug. ***
Comment 3 Christoph Cullmann 2012-11-01 12:46:46 UTC
Git commit 98b3fc790e6702821c724cdfd30c7cacf633bc80 by Christoph Cullmann.
Committed on 01/11/2012 at 13:46.
Pushed by cullmann into branch 'master'.

remember right mode, once set by user
stupid, somehow the bool got never set :/

M  +3    -0    part/document/katedocument.cpp

http://commits.kde.org/kate/98b3fc790e6702821c724cdfd30c7cacf633bc80