LanguagePlugins and AlwaysOn

Milian Wolff mail at milianw.de
Thu Jun 17 17:10:47 UTC 2010


Heyho,

while working on the multilang support I found out that the "AlwaysOn" 
attribute doesn#t actually mean AlwaysOn but more "neverUnload". But imagine 
this:

open index.html
=> langController->languagesForUrl()
(foreground)
=> loads XML Language Support
=> parsejob
=> run (background)
<style type="text/css">
=> langController->languagesForMimeType("text/css")
=> nothing found since loading plugins from the background is explicitly 
forbidden

Now what to do? Can't we simply load all language plugins _always_? I.e. also 
at start?

Bye
-- 
Milian Wolff
mail at milianw.de
http://milianw.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20100617/3a8f2e59/attachment.sig>


More information about the KDevelop-devel mailing list