Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Details of wxSTC_LEX_TCS #16

Open
horvatha4 opened this issue Apr 17, 2016 · 1 comment
Open

Details of wxSTC_LEX_TCS #16

horvatha4 opened this issue Apr 17, 2016 · 1 comment

Comments

@horvatha4
Copy link

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
Copy link
Member

tomspilman commented May 19, 2016

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants