summaryrefslogtreecommitdiff
path: root/indra/newview/llscripteditor.h
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2024-05-15 12:18:31 -0400
committerNat Goodspeed <nat@lindenlab.com>2024-05-15 12:18:31 -0400
commit7ccf02515ad3f9e3bf795d651fe4b3c0d773f353 (patch)
treec4adc897c07f652e617e91fbf41c12b823acc808 /indra/newview/llscripteditor.h
parent1abf5f18d6afc7ae9e1b1562b92e5c1ce33b722f (diff)
parente7eced3c87310b15ac20cc3cd470d67686104a14 (diff)
Merge commit 'e7eced3' into lua-timers for whitespace fixes.
Diffstat (limited to 'indra/newview/llscripteditor.h')
-rw-r--r--indra/newview/llscripteditor.h58
1 files changed, 29 insertions, 29 deletions
diff --git a/indra/newview/llscripteditor.h b/indra/newview/llscripteditor.h
index ef941f552a..19caa277d9 100644
--- a/indra/newview/llscripteditor.h
+++ b/indra/newview/llscripteditor.h
@@ -33,43 +33,43 @@
class LLScriptEditor : public LLTextEditor
{
public:
-
- struct Params : public LLInitParam::Block<Params, LLTextEditor::Params>
- {
- Optional<bool> show_line_numbers;
+
+ struct Params : public LLInitParam::Block<Params, LLTextEditor::Params>
+ {
+ Optional<bool> show_line_numbers;
Optional<bool> default_font_size;
- Params();
- };
-
- virtual ~LLScriptEditor() {};
-
- // LLView override
- virtual void draw();
+ Params();
+ };
+
+ virtual ~LLScriptEditor() {};
+
+ // LLView override
+ virtual void draw();
BOOL postBuild();
-
- void initKeywords();
- void loadKeywords();
- /* virtual */ void clearSegments();
- LLKeywords::keyword_iterator_t keywordsBegin() { return mKeywords.begin(); }
- LLKeywords::keyword_iterator_t keywordsEnd() { return mKeywords.end(); }
-
+
+ void initKeywords();
+ void loadKeywords();
+ /* virtual */ void clearSegments();
+ LLKeywords::keyword_iterator_t keywordsBegin() { return mKeywords.begin(); }
+ LLKeywords::keyword_iterator_t keywordsEnd() { return mKeywords.end(); }
+
static std::string getScriptFontSize();
LLFontGL* getScriptFont();
void onFontSizeChange();
protected:
- friend class LLUICtrlFactory;
- LLScriptEditor(const Params& p);
-
+ friend class LLUICtrlFactory;
+ LLScriptEditor(const Params& p);
+
private:
- void drawLineNumbers();
- /* virtual */ void updateSegments();
- /* virtual */ void drawSelectionBackground();
- void loadKeywords(const std::string& filename_keywords,
- const std::string& filename_colors);
-
- LLKeywords mKeywords;
- bool mShowLineNumbers;
+ void drawLineNumbers();
+ /* virtual */ void updateSegments();
+ /* virtual */ void drawSelectionBackground();
+ void loadKeywords(const std::string& filename_keywords,
+ const std::string& filename_colors);
+
+ LLKeywords mKeywords;
+ bool mShowLineNumbers;
bool mUseDefaultFontSize;
};