diff options
author | Mnikolenko Productengine <mnikolenko@productengine.com> | 2023-08-01 20:14:27 +0300 |
---|---|---|
committer | Mnikolenko Productengine <mnikolenko@productengine.com> | 2023-08-01 20:14:27 +0300 |
commit | 62245de7ae38468f337e4c64bc2c254e13c6fedc (patch) | |
tree | eddb1063d68359e0068adba99156cf23975ecbf8 /indra/llui/llkeywords.h | |
parent | 6cd91770e13cc4a6520aca5f2683b74f8d6692e2 (diff) |
SL-19982 Adjustable font size in LSL editor
Diffstat (limited to 'indra/llui/llkeywords.h')
-rw-r--r-- | indra/llui/llkeywords.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/indra/llui/llkeywords.h b/indra/llui/llkeywords.h index 18e2ed06c5..2410fe7d5a 100644 --- a/indra/llui/llkeywords.h +++ b/indra/llui/llkeywords.h @@ -29,6 +29,7 @@ #include "lldir.h" +#include "llstyle.h" #include "llstring.h" #include "v3color.h" #include "v4color.h" @@ -115,8 +116,8 @@ public: void findSegments(std::vector<LLTextSegmentPtr> *seg_list, const LLWString& text, - const LLColor4 &defaultColor, - class LLTextEditor& editor); + class LLTextEditor& editor, + LLStyleConstSP style); void initialize(LLSD SyntaxXML); void processTokens(); @@ -181,9 +182,11 @@ protected: S32 text_len, S32 seg_start, S32 seg_end, - const LLColor4 &defaultColor, + LLStyleConstSP style, LLTextEditor& editor); + void insertSegment(std::vector<LLTextSegmentPtr>& seg_list, LLTextSegmentPtr new_segment, S32 text_len, LLStyleConstSP style, LLTextEditor& editor ); + bool mLoaded; LLSD mSyntax; word_token_map_t mWordTokenMap; |