Skip to content
Snippets Groups Projects
Commit f9bbf9e3 authored by Cinder's avatar Cinder
Browse files

STORM-2028 - Show context menu in script editor

parent 82cd99d6
No related branches found
No related tags found
No related merge requests found
...@@ -32,7 +32,6 @@ ...@@ -32,7 +32,6 @@
class LLScriptEditor : public LLTextEditor class LLScriptEditor : public LLTextEditor
{ {
friend class LLUICtrlFactory;
public: public:
struct Params : public LLInitParam::Block<Params, LLTextEditor::Params> struct Params : public LLInitParam::Block<Params, LLTextEditor::Params>
...@@ -48,6 +47,7 @@ class LLScriptEditor : public LLTextEditor ...@@ -48,6 +47,7 @@ class LLScriptEditor : public LLTextEditor
LLKeywords::keyword_iterator_t keywordsEnd() { return mKeywords.end(); } LLKeywords::keyword_iterator_t keywordsEnd() { return mKeywords.end(); }
protected: protected:
friend class LLUICtrlFactory;
LLScriptEditor(const Params& p); LLScriptEditor(const Params& p);
private: private:
......
...@@ -149,7 +149,7 @@ ...@@ -149,7 +149,7 @@
</menu> </menu>
</menu_bar> </menu_bar>
<script_editor <script_editor
left="0" left="0"
type="string" type="string"
length="1" length="1"
follows="left|top|right|bottom" follows="left|top|right|bottom"
...@@ -162,7 +162,9 @@ ...@@ -162,7 +162,9 @@
text_readonly_color="DkGray" text_readonly_color="DkGray"
width="487" width="487"
enable_tooltip_paste="true" enable_tooltip_paste="true"
word_wrap="true"> word_wrap="true"
show_context_menu="true"
show_line_numbers="true">
Loading... Loading...
</script_editor> </script_editor>
<scroll_list <scroll_list
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment