SickheadGames / Torsion

The TorqueScript IDE for Torque engine games and mods.
http://www.sickheadgames.com
Other
37 stars 37 forks source link

Details of wxSTC_LEX_TCS #16

Open horvatha4 opened 8 years ago

horvatha4 commented 8 years ago

In ...\Torsion\code\Torsion\ScriptCtrl.cpp (1 hit) Line 301: SetLexer(wxSTC_LEX_TCS);

I think this is "Torque C Script" special style enums, but I can't find more info in the sourcecode.

There is more TCS-s at Line 907: if ( style == wxSTC_TCS_COMMENT || style == wxSTC_TCS_COMMENTLINE || style == wxSTC_TCS_COMMENTDOC || style == wxSTC_TCS_STRING || style == wxSTC_TCS_STRINGEOL ) Is there any info or suggestion? Best Regards

tomspilman commented 8 years ago

I think this is "Torque C Script" special style enums

That is part of the parser support for TorqueScript that I added to the Scintilla text editor control we use on Torsion.

The code for the Scintilla text editor control is in:

https://github.com/SickheadGames/Torsion/tree/master/code/wxWidgets/contrib/src/stc

None of that exists in new releases of Scintilla because it was private to just my Torsion repo. So it would need to be re-integrated to any new updates to Scintilla.