TGText A TGText is a multi line text buffer. It allows the text to be loaded from file, saved to file and edited. It is used in the TGTextEdit widget. Single line text is handled by TGTextBuffer and the TGTextEntry widget.
virtual | ~TGTextLine() |
static TClass* | Class() |
void | Clear() |
void | DelChar(ULong_t pos) |
void | DelText(ULong_t pos, ULong_t length) |
char | GetChar(ULong_t pos) |
ULong_t | GetLineLength() |
char* | GetText() const |
char* | GetText(ULong_t pos, ULong_t length) |
char* | GetWord(ULong_t pos) |
void | InsChar(ULong_t pos, char character) |
void | InsText(ULong_t pos, const char* text) |
virtual TClass* | IsA() const |
virtual void | ShowMembers(TMemberInspector& insp) const |
virtual void | Streamer(TBuffer&) |
void | StreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b) |
TGTextLine() | |
TGTextLine(TGTextLine* line) | |
TGTextLine(const char* string) |
TGTextLine& | operator=(const TGTextLine&) |
TGTextLine(const TGTextLine&) |
ULong_t | fLength | length of line |
TGTextLine* | fNext | next line |
TGTextLine* | fPrev | previous line |
char* | fString | line of text |
Get length characters from line starting at pos. Returns 0 in case pos and length are out of range. The returned string must be freed by the user.
Get a character at the specified position from the line. Returns -1 if pos is out of range.