trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: March 2012

Re: [trinity-devel] add HotKeys for Highlighting in kate/kwrite?

From: "E. Liddell" <ejlddll@...>
Date: Sat, 10 Mar 2012 10:09:33 -0500
On Fri, 9 Mar 2012 15:15:28 -0800 (PST)
Darrell Anderson <humanreadable@...> wrote:

> To me the root problem of your description is why kate is not detecting the file type. 
>I have seen this often enough and is frustrating. Before submitting an enhancement 
>request, perhaps browse the code to learn how detection functions. Possibly an extra 
>if-then statement or equivalent is all that is needed to address some of these shortcomings.

I believe the detection is by file extension (ran into this when adding WesnothML to the
list of available highlight types in an older version that didn't have it by default--its 
extension is also sometimes used by . . . I think it was QuakeScript).