summaryrefslogtreecommitdiff
path: root/indra/newview/llscripteditor.h
diff options
context:
space:
mode:
authorCinder <cinder.roxley@phoenixviewer.com>2014-06-20 13:43:31 -0600
committerCinder <cinder.roxley@phoenixviewer.com>2014-06-20 13:43:31 -0600
commit8d2e0fb3a047e349b88db80afa09fc97a7f4ff74 (patch)
tree78016c75a1d170fae191203e45208bcbb134ba57 /indra/newview/llscripteditor.h
parent984353d7ca6184d7252c716150d42139aae94e5c (diff)
STORM-2035 - Invert the background color in script editors for highlighting sections. Since the background color can be changed by the user, this ensures distinctive highlighting
Diffstat (limited to 'indra/newview/llscripteditor.h')
-rw-r--r--indra/newview/llscripteditor.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/indra/newview/llscripteditor.h b/indra/newview/llscripteditor.h
index 8c5ab362a3..f458203a39 100644
--- a/indra/newview/llscripteditor.h
+++ b/indra/newview/llscripteditor.h
@@ -48,7 +48,7 @@ public:
void initKeywords();
void loadKeywords();
- void clearSegments();
+ /* virtual */ void clearSegments();
LLKeywords::keyword_iterator_t keywordsBegin() { return mKeywords.begin(); }
LLKeywords::keyword_iterator_t keywordsEnd() { return mKeywords.end(); }
@@ -58,7 +58,8 @@ protected:
private:
void drawLineNumbers();
- void updateSegments();
+ /* virtual */ void updateSegments();
+ /* virtual */ void drawSelectionBackground();
void loadKeywords(const std::string& filename_keywords,
const std::string& filename_colors);