#include <lltexteditor.h>
Collaboration diagram for LLTextSegment:
Public Member Functions | |
LLTextSegment (S32 start) | |
LLTextSegment (const LLStyle &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 () |
S32 | getEnd () |
void | setEnd (S32 end) |
const LLColor4 & | getColor () |
void | setColor (const LLColor4 &color) |
const LLStyle & | getStyle () |
void | setStyle (const LLStyle &style) |
void | setIsDefault (BOOL b) |
BOOL | getIsDefault () |
void | setToken (LLKeywordToken *token) |
LLKeywordToken * | getToken () |
BOOL | getToolTip (LLString &msg) |
void | dump () |
Private Attributes | |
LLStyle | mStyle |
S32 | mStart |
S32 | mEnd |
LLKeywordToken * | mToken |
BOOL | mIsDefault |
Classes | |
struct | compare |
Definition at line 446 of file lltexteditor.h.
LLTextSegment::LLTextSegment | ( | S32 | start | ) |
Definition at line 3992 of file lltexteditor.cpp.
Definition at line 3995 of file lltexteditor.cpp.
Definition at line 4003 of file lltexteditor.cpp.
Definition at line 4012 of file lltexteditor.cpp.
Definition at line 4020 of file lltexteditor.cpp.
void LLTextSegment::dump | ( | ) |
const LLColor4& LLTextSegment::getColor | ( | ) | [inline] |
S32 LLTextSegment::getEnd | ( | ) | [inline] |
Definition at line 457 of file lltexteditor.h.
References mEnd.
Referenced by LLTextEditor::drawText(), dump(), LLTextEditor::getLineStart(), LLKeywords::insertSegment(), LLTextEditor::pruneSegments(), and LLTextEditor::updateLineStartList().
BOOL LLTextSegment::getIsDefault | ( | ) | [inline] |
S32 LLTextSegment::getStart | ( | ) | [inline] |
Definition at line 456 of file lltexteditor.h.
References mStart.
Referenced by LLTextEditor::drawText(), LLTextEditor::getLineStart(), LLViewerTextEditor::handleDoubleClick(), LLViewerTextEditor::handleToolTip(), LLKeywords::insertSegment(), LLTextEditor::pruneSegments(), and LLTextEditor::updateLineStartList().
const LLStyle& LLTextSegment::getStyle | ( | ) | [inline] |
Definition at line 461 of file lltexteditor.h.
References mStyle.
Referenced by LLTextEditor::drawText(), LLViewerTextEditor::handleDoubleClick(), LLViewerTextEditor::handleRightMouseDown(), and LLViewerTextEditor::handleToolTip().
LLKeywordToken* LLTextSegment::getToken | ( | ) | [inline] |
Definition at line 467 of file lltexteditor.h.
References mToken.
Referenced by LLScriptEdCore::updateDynamicHelp().
Definition at line 4029 of file lltexteditor.cpp.
References FALSE, LLKeywordToken::getToolTip(), mToken, TRUE, and wstring_to_utf8str().
Referenced by LLViewerTextEditor::handleToolTip(), and LLTextEditor::handleToolTip().
Definition at line 458 of file lltexteditor.h.
References mEnd.
Referenced by LLKeywords::insertSegment(), and LLTextEditor::pruneSegments().
Definition at line 463 of file lltexteditor.h.
References mIsDefault.
Referenced by LLTextEditor::updateSegments().
void LLTextSegment::setToken | ( | LLKeywordToken * | token | ) | [inline] |
Definition at line 466 of file lltexteditor.h.
References mToken.
Referenced by LLKeywords::findSegments().
S32 LLTextSegment::mEnd [private] |
BOOL LLTextSegment::mIsDefault [private] |
S32 LLTextSegment::mStart [private] |
LLStyle LLTextSegment::mStyle [private] |
Definition at line 481 of file lltexteditor.h.
Referenced by getColor(), getStyle(), setColor(), and setStyle().
LLKeywordToken* LLTextSegment::mToken [private] |
Definition at line 484 of file lltexteditor.h.
Referenced by getToken(), getToolTip(), and setToken().