Csabo
Moderator
Posts: 541
Registered: 02-02 |
This is not hard-coded into XWE. Open up the xwe.ini file (it's a simple text file), and look for [DDF]. You can add any new entry types there. This is (partially) what makes XWE eXtendable. (I'll add them for the next release.)
When you try to open an entry (for which there's no specified editor), XWE reads the first 256 bytes or so, and checks whether those are all readable characters. (Letters, numbers, spaces, etc.) If not, it displays the entry as BYTES (vs. text). The DDFFONT entry you mentioned has some accented chars in it (ä, etc). That's why XWE thinks this is binary data and not text. I guess I could make this checking routine more flexible by adding the accented chars, but actually there's a lot. It may mean that XWE would think some binary data is actually text... I guess this is a sideeffect you'll have to live with, unless you add the "DDFFONT" entry to the xwe.ini file. In that case, XWE knows which editor to use, so it will display as text.
|