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

List:       kwrite-devel
Subject:    Re: Syntax highlighting files
From:       Leo Savernik <l.savernik () aon ! at>
Date:       2008-10-31 14:07:24
Message-ID: 200810311507.26535.l.savernik () aon ! at
[Download RAW message or body]

Am Donnerstag, 30. Oktober 2008 schrieb Ivo Anjo:
> I was thinking: does kate really need to do those stats at startup?
>
> According to Dominik, most of the info is cached, and the stat's are only
> to see "if anything changed".
> But imagine I'm opening a C file: Kate already knows that there is a C file
> highlight, and opens it, and then it notices that it is a new version -- no
> stat was needed for the other files.
>
> I think the stat would only be needed when opening a file for which kate
> didn't have an highlight, or when opening an highlight and kate notices
> it's missing, and that could be done only when needed, not at every
> startup.
>
Don't forget about new highlighting files that kate doesn't know about yet. 
They all must be listed when the highlighting menu is shown. Well, the menu 
can be populated on demand. So I agree, we could do without stat'ing at 
startup.

mfg
	Leo
_______________________________________________
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