[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kwrite-devel
Subject:    Re: Merging Syntax + File-Types
From:       Anders Lund <anders () alweb ! dk>
Date:       2007-05-07 20:01:23
Message-ID: 200705072201.23799.anders () alweb ! dk
[Download RAW message or body]

On Monday 07 May 2007, Matthew Woehlke wrote:
> Anders Lund wrote:
> > On Sunday 06 May 2007, Christoph Cullmann wrote:
> >> I think it would be a good thing to merge the file-types with the
> >> syntax(highlighting) types. The highlightings would get a additional
> >> field in the xml file to specify the kate: line + this would be added to
> >> the kate*rc cache file. Users could add additional types, chosing no hl
> >> or a existing hl and modify the lines of existing ones. With this, we
> >> would have one central place for language/syntax mode selection...
> >> Good idea, bad idea?
> >> Additional, the syntax files would get a entry to select the
> >> highlighting script by name..
> >
> > As long as file types does not depend on information in the highlight
> > files, and changing the file type for a file does not require data in the
> > highlight file to be changed I can accept it.
>
> Also, keep in mind that some users (me) may want/have multiple "file
> types" for the same actual file type. (I use this because a particular
> project uses different formatting standards and neither modelines nor
> .kateconfig's are practical for various reasons. A "redundant" file type
> makes it easy to switch to the correct settings.)

This is one of the reasons for my concerns. It should be possible to use 
filename masks to decide which file type to use. (and what about cascading?)

-- 
Anders

www: http://www.alweb.dk
jabber: anderslund@jabber.dk
_______________________________________________
KWrite-Devel mailing list
KWrite-Devel@kde.org
https://mail.kde.org/mailman/listinfo/kwrite-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic