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

List:       kwrite-devel
Subject:    Re: Modes
From:       Sebastian Pipping <webmaster () hartwork ! org>
Date:       2007-07-06 22:08:00
Message-ID: 468EBD40.6040308 () hartwork ! org
[Download RAW message or body]

Dominik Haumann wrote:
>> Assuming all the wildcards are plain file extensions like
>> "*.css" and not generic filters like ".bash*" that code
>> could be changed to an extension-to-mode map. That would
>> do binary instead of linear search. The map has to be build
>> from the filters only once.
> 
> That's not the case, especially because the user also can change this 
> dynamically ;)

---------------------------------------------------------
In that case I think even a mix is possible.
You could make a map of all "*.<extension>" filters
and walk the list of complex filters if the map
didn't give a match.



Sebastian
_______________________________________________
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