diff options
author | Cinder <cinder.roxley@phoenixviewer.com> | 2014-04-18 23:13:57 -0600 |
---|---|---|
committer | Cinder <cinder.roxley@phoenixviewer.com> | 2014-04-18 23:13:57 -0600 |
commit | dcffb97518cb2888489c93b90862518f761967dd (patch) | |
tree | 5d4afbda134d7c0f63c48abcd6aa211f8d4fb782 /indra/newview/llscripteditor.h | |
parent | 54c7b96bf19efd28cc7ce81c0864ee7bbb7d6b1d (diff) |
Move some more script editor functions from LLTextEditor to LLScriptEditor
Diffstat (limited to 'indra/newview/llscripteditor.h')
-rw-r--r-- | indra/newview/llscripteditor.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/indra/newview/llscripteditor.h b/indra/newview/llscripteditor.h index a0bee36a25..86c915d6a0 100644 --- a/indra/newview/llscripteditor.h +++ b/indra/newview/llscripteditor.h @@ -41,11 +41,21 @@ public: }; virtual ~LLScriptEditor() {}; - void clearSegments(); + void initKeywords(); + void loadKeywords(); + void clearSegments(); + LLKeywords::keyword_iterator_t keywordsBegin() { return mKeywords.begin(); } + LLKeywords::keyword_iterator_t keywordsEnd() { return mKeywords.end(); } protected: LLScriptEditor(const Params& p); - + +private: + void updateSegments(); + void loadKeywords(const std::string& filename_keywords, + const std::string& filename_colors); + + LLKeywords mKeywords; }; #endif // LL_SCRIPTEDITOR_H |