[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [Dltk-dev] why is it that the ScriptSourceViewerConfiguration is created 4 times when a script editor is made?
|
Hi Johan,
One of reasons why ScriptSourceViewConfigurations are created multiple times is that they are re-created with the project specific preferences during doSetInput().
I will check that part of the code.
Regards,
Alex
----- Original Message -----
From: "Johan Compagner" <jcompagner@xxxxxxxxx>
To: "DLTK Developer list" <dltk-dev@xxxxxxxxxxx>
Sent: Thursday, December 18, 2008 7:36:29 PM GMT +06:00 Almaty, Novosibirsk
Subject: [Dltk-dev] why is it that the ScriptSourceViewerConfiguration is created 4 times when a script editor is made?
3 times for the script editor itself and 1 time for the SemanticHighlightingManager
so at least 2 of them dont make any sense because the are overwritten each time
only 2 references are being kept, 1 in the script editor and the 1 in the SemanticHighlightingManager
seems a bit of waste to me.
(all scanners/tokens are initalized)
johan
_______________________________________________
dltk-dev mailing list
dltk-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/dltk-dev