Just finished the Plan to use SciTEs Lua state with LexLPeg. Themeing had some Issues there, because of some predefined Styles with non-neutral Backgrounds. Noticed that when using 'style.type' having a greyisch bg which doesnt fit in a dark Theme. Now it can be overridden via:
property['style.type']= props['colour.keyword'] ..","..props['colour.background']
For some Reasons, it didnt work with the LexLPeg version contained within the Scintilla Backport, but using 'Stock' Scintilluas Version did fine. Also, since the lua Project doesnt recommend statically linking lua into an executable - and as SciLexer.dll contains Lua now - I decoupled Lua form SciTEs binary. Now it uses the dynamically linked Lua from SciLexer. Some stuff is yet to be done, namely VCSupport and relinking all Lualibs. That stuff will be done over Time - specifically when Temperatures arent that high around here. So Raaiinn pleaase!
Okay. Asked for rain and recieved a Storm. Opened the window shortly after- which resulted in minimum ten midges entering my room. hrmpf. So didnt sleep very well and finally used a towel to get them out one by one. Project2 News: written a little test preloader class. Once initialized, it creates a map containing the assets Names and Object references. Later, when the Asset Class instanciates- its used to fill in the props. .... Does do what its written for. Well see if it fits within "project_2" code (....) WorksLikeACharm!
public function assetsClassName(){ var _className:String= getQualifiedClassName(this); _className = _className.slice(_className.lastIndexOf("::") + 1); var mc:MovieClip = preloader.getInstance().getmap(_className) as MovieClip bg = mc.bg; addChild(bg) logo = mc.logo; addChild(logo); spinner = mc.spinner; addChild(spinner); }