Global Options > jEdit > Editing
I select mode c and change extensions from \*.c to \*.{c,qc,qh}
Changes are applied neither by pressing ok nor by restarting jEdit, even if the settings
stay \*.{c,qc,qh}
To workaround this bug I had to manually replace \*.c with \*.{c,qc,qh} in the file
jEdit 4.4pre1\modes\catalog.
Windows XP SP3
jEdit 4.4pre1
My settings are in %home%\.jedit
Submitted | terencehill - 2011-05-29 13:34:28 | Assigned | |
---|---|---|---|
Priority | 5 | Labels | text area and syntax packages |
Status | open | Group | normal bug |
Resolution | None |
2011-05-29 17:19:29 daleanson |
It works fine for me. I set the filename extensions as you did, then renamed a few
.c files to have .qc extensions, and jEdit recognizes them as c files when I open
them. I wonder if you have a permissions problem? Do you have this line:
|
---|---|
2011-05-30 11:51:02 terencehill |
Yes, mode.c.filenameGlob=\*.{c,qc,qh} is in %home%\.jedit\properties and changes everytime
I change the settings in the menu
|
2011-05-30 11:58:27 *anonymous |
"use default settings" means that the editing properties of the mode are changed to the "global defaults" - which means the same settings as text mode. |
2011-05-30 12:55:04 daleanson |
Do you have a file named c.xml in your %home%\.jedit\modes directory? If so, try removing it. |
2011-05-30 14:29:33 terencehill |
I created another c.xml in my home directory and then deleted it, but the properties
file was still pointing to it :/
|