! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Filetype reset on Save
Status:
RESOLVED: DUPLICATE
Product:
Mousepad
Component:
General

Comments

Description n1dr+cmxfce 2018-03-31 11:29:58 CEST
The Filetype (used for syntax highlight) is reset after saving file. It would be nicer to retain the old filetype you manually selected.

Steps to repro:
* create a new file without extension
* type anything in any language. For example, type "echo 123" as if it were bash
* in Mousepad menu, click Document > Filetype > any language that highlights your text (for example, Scripts > sh)
* save the document

Expected at this point:
* your file is still highlighted with the filetype you selected

Actually: file type is reset from extension, which is plain text.
Comment 1 Theo Linkspfeifer editbugs 2019-04-25 10:51:14 CEST
Fixed in version 0.4.1.

*** This bug has been marked as a duplicate of bug 13630 ***
Comment 2 n1dr+cmxfce 2019-04-25 10:55:37 CEST
Sorry for not noticing the duplicate. Thanks Andre and Theo!

Bug #14318

Reported by:
n1dr+cmxfce
Reported on: 2018-03-31
Last modified on: 2019-04-25

People

Assignee:
Matthew Brush
CC List:
2 users

Version

Attachments

Additional information