STORM-2028 - Show context menu in script editor

master
Cinder 2014-05-13 10:16:03 -06:00
parent 82cd99d6eb
commit f9bbf9e30a
2 changed files with 5 additions and 3 deletions

View File

@ -32,7 +32,6 @@
class LLScriptEditor : public LLTextEditor
{
friend class LLUICtrlFactory;
public:
struct Params : public LLInitParam::Block<Params, LLTextEditor::Params>
@ -48,6 +47,7 @@ public:
LLKeywords::keyword_iterator_t keywordsEnd() { return mKeywords.end(); }
protected:
friend class LLUICtrlFactory;
LLScriptEditor(const Params& p);
private:

View File

@ -149,7 +149,7 @@
</menu>
</menu_bar>
<script_editor
left="0"
left="0"
type="string"
length="1"
follows="left|top|right|bottom"
@ -162,7 +162,9 @@
text_readonly_color="DkGray"
width="487"
enable_tooltip_paste="true"
word_wrap="true">
word_wrap="true"
show_context_menu="true"
show_line_numbers="true">
Loading...
</script_editor>
<scroll_list