#include <lltexteditor.h>
Public Member Functions | |
LLTextSegment (S32 start) | |
LLTextSegment (const LLStyleSP &style, S32 start, S32 end) | |
LLTextSegment (const LLColor4 &color, S32 start, S32 end, BOOL is_visible) | |
LLTextSegment (const LLColor4 &color, S32 start, S32 end) | |
LLTextSegment (const LLColor3 &color, S32 start, S32 end) | |
S32 | getStart () const |
S32 | getEnd () const |
void | setEnd (S32 end) |
const LLColor4 & | getColor () const |
void | setColor (const LLColor4 &color) |
const LLStyleSP & | getStyle () const |
void | setStyle (const LLStyleSP &style) |
void | setIsDefault (BOOL b) |
BOOL | getIsDefault () const |
void | setToken (LLKeywordToken *token) |
LLKeywordToken * | getToken () const |
BOOL | getToolTip (LLString &msg) const |
void | dump () const |
Private Attributes | |
LLStyleSP | mStyle |
S32 | mStart |
S32 | mEnd |
LLKeywordToken * | mToken |
BOOL | mIsDefault |
Classes | |
struct | compare |
Definition at line 526 of file lltexteditor.h.
LLTextSegment::LLTextSegment | ( | S32 | start | ) |
Definition at line 4006 of file lltexteditor.cpp.
Definition at line 4009 of file lltexteditor.cpp.
Definition at line 4017 of file lltexteditor.cpp.
Definition at line 4025 of file lltexteditor.cpp.
Definition at line 4033 of file lltexteditor.cpp.
S32 LLTextSegment::getStart | ( | ) | const [inline] |
Definition at line 536 of file lltexteditor.h.
References mStart.
Referenced by LLTextEditor::drawText(), LLTextEditor::getLineStart(), LLViewerTextEditor::handleDoubleClick(), LLViewerTextEditor::handleToolTip(), LLKeywords::insertSegment(), LLTextEditor::pruneSegments(), LLScriptEdCore::updateDynamicHelp(), and LLTextEditor::updateLineStartList().
S32 LLTextSegment::getEnd | ( | ) | const [inline] |
Definition at line 537 of file lltexteditor.h.
References mEnd.
Referenced by LLTextEditor::drawText(), dump(), LLTextEditor::getLineStart(), LLKeywords::insertSegment(), LLTextEditor::pruneSegments(), LLScriptEdCore::updateDynamicHelp(), and LLTextEditor::updateLineStartList().
void LLTextSegment::setEnd | ( | S32 | end | ) | [inline] |
Definition at line 538 of file lltexteditor.h.
References mEnd.
Referenced by LLKeywords::insertSegment(), and LLTextEditor::pruneSegments().
const LLColor4& LLTextSegment::getColor | ( | ) | const [inline] |
Definition at line 539 of file lltexteditor.h.
References mStyle.
Referenced by LLTextEditor::drawCursor().
void LLTextSegment::setColor | ( | const LLColor4 & | color | ) | [inline] |
const LLStyleSP& LLTextSegment::getStyle | ( | ) | const [inline] |
Definition at line 541 of file lltexteditor.h.
References mStyle.
Referenced by LLTextEditor::drawText(), LLViewerTextEditor::handleDoubleClick(), LLViewerTextEditor::handleHover(), LLTextEditor::handleHover(), and LLViewerTextEditor::handleToolTip().
void LLTextSegment::setStyle | ( | const LLStyleSP & | style | ) | [inline] |
void LLTextSegment::setIsDefault | ( | BOOL | b | ) | [inline] |
Definition at line 543 of file lltexteditor.h.
References mIsDefault.
Referenced by LLTextEditor::updateSegments().
BOOL LLTextSegment::getIsDefault | ( | ) | const [inline] |
void LLTextSegment::setToken | ( | LLKeywordToken * | token | ) | [inline] |
Definition at line 545 of file lltexteditor.h.
References mToken.
Referenced by LLKeywords::findSegments().
LLKeywordToken* LLTextSegment::getToken | ( | ) | const [inline] |
Definition at line 546 of file lltexteditor.h.
References mToken.
Referenced by LLScriptEdCore::updateDynamicHelp().
Definition at line 4042 of file lltexteditor.cpp.
References FALSE, LLKeywordToken::getToolTip(), mToken, TRUE, and wstring_to_utf8str().
Referenced by LLViewerTextEditor::handleToolTip(), and LLTextEditor::handleToolTip().
void LLTextSegment::dump | ( | ) | const |
LLStyleSP LLTextSegment::mStyle [private] |
Definition at line 560 of file lltexteditor.h.
Referenced by getColor(), getStyle(), setColor(), and setStyle().
S32 LLTextSegment::mStart [private] |
Definition at line 561 of file lltexteditor.h.
Referenced by dump(), getStart(), and LLTextSegment::compare::operator()().
S32 LLTextSegment::mEnd [private] |
LLKeywordToken* LLTextSegment::mToken [private] |
Definition at line 563 of file lltexteditor.h.
Referenced by getToken(), getToolTip(), and setToken().
BOOL LLTextSegment::mIsDefault [private] |