diff options
| author | Ima Mechanique <ima.mechanique@secondlife.com> | 2013-10-21 04:09:20 +0100 |
|---|---|---|
| committer | Ima Mechanique <ima.mechanique@secondlife.com> | 2013-10-21 04:09:20 +0100 |
| commit | 79645e6981a97224024c5226d8713dce9569d54a (patch) | |
| tree | 724993b295f45f4a4ef633c5503b0b07f07f5f15 /indra/newview/llpreviewscript.cpp | |
| parent | bccbcced5426d95353f07ec2e8bb12c0b1ec03bf (diff) | |
STORM-1831 First attempt at using SyntaxIdLSL capability. (incomplete)
Diffstat (limited to 'indra/newview/llpreviewscript.cpp')
| -rwxr-xr-x | indra/newview/llpreviewscript.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/indra/newview/llpreviewscript.cpp b/indra/newview/llpreviewscript.cpp index 2e9907fcd2..62e1d765b3 100755 --- a/indra/newview/llpreviewscript.cpp +++ b/indra/newview/llpreviewscript.cpp @@ -406,7 +406,15 @@ BOOL LLScriptEdCore::postBuild() initMenu(); - mEditor->mKeywords.initialise(); +// Make this work ;-) + mSyntaxLSL = LLSyntaxIdLSL(); + +// mSyntaxLSL.initialise(); +// mSyntaxLSL.mKeywords = &mEditor->mKeywords; + // ... +// mSyntaxLSL->mKeywords.initialise(); +// Move into the SyntaxIdLSL class + mEditor->mKeywords.initialise(mSyntaxLSL.filenamePath(), mSyntaxLSL.filenameCurrent()); // FIX: Refactor LLTextEditor::loadKeywords so these can be removed. std::vector<std::string> funcs; |
