Hey guys,
since I am working on the Creation:Splice integration in Softimage I'd
like to use the text editor widget for coding. Obviously there's syntax
highlighting support, I can see the autocomplete working for my key
word list already, but the highlighting isn't showing up.
Any hints?
Helge
oItem = oLayout.AddItem( "klCode", "Source Code", siControlTextEditor);
oItem.PutAttribute(siUIFont, "Courier New");
oItem.PutAttribute(siUIKeywords, xsiGetKLKeyWords());
oItem.PutAttribute(siUIAutoComplete, siKeywords);
oItem.PutAttribute(siUICommentFont, "Courier New");
oItem.PutAttribute(siUICommentColor, 0x75715e);
oItem.PutAttribute(siUIPreprocessorColor, 0x808080);
oItem.PutAttribute(siUIToolbar, true);
oItem.PutAttribute(siUIFontSize, 10);
oItem.PutAttribute(siUIHeight, 500);
oItem.PutAttribute(siUIBackgroundColor, 0xf8f8f2);
oItem.PutAttribute(siUIForegroundColor, 0x272822);
oItem.PutAttribute(siUIHorizontalScroll, true);
oItem.PutAttribute(siUIVerticalScroll, true);
oItem.PutAttribute(siUILineNumbering, true);
oItem.PutAttribute(siUILineWrap, false);
oItem.PutAttribute("UseSpacesForTab", true);
oItem.PutAttribute("TabSize", 2);