summaryrefslogtreecommitdiff
path: root/indra/newview/llscripteditor.h
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2024-06-10 17:06:06 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2024-06-10 19:25:02 +0300
commit0dcc912cecdfb365c1f4246545ece40ccb7bc18e (patch)
treeccf664c765d1adbbf4985069321df65c85ca36e2 /indra/newview/llscripteditor.h
parentbd8438f7083643ae5812b14e35e69e69ef1616c6 (diff)
parentd317454c82e016a02c8a708a0118f3ff29aa8e82 (diff)
Merge main into inventory_favorites
# Conflicts: # indra/llui/llfolderviewmodel.h # indra/newview/llpanelwearing.cpp # indra/newview/llwearableitemslist.cpp
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;
};