|
| TGText () |
| Create default (empty) text buffer. More...
|
|
| TGText (const char *string) |
| Create text buffer and initialize with single line string. More...
|
|
| TGText (TGText *text) |
| Create text buffer and initialize with other text buffer. More...
|
|
virtual | ~TGText () |
| Destroy text buffer. More...
|
|
Bool_t | AddText (TGText *text) |
| Add another text buffer to this buffer. More...
|
|
Bool_t | Append (const char *fn) |
| Append buffer to file fn. More...
|
|
TString | AsString () |
| Returns content as ROOT string. More...
|
|
Bool_t | BreakLine (TGLongPosition pos) |
| Break line at position pos. Returns false if pos is not valid. More...
|
|
void | Clear () |
| Clear text buffer. More...
|
|
Long_t | ColCount () const |
|
Bool_t | DelChar (TGLongPosition pos) |
| Delete character at specified position pos. More...
|
|
Bool_t | DelLine (ULong_t pos) |
| Delete specified row. Returns false if row does not exist. More...
|
|
Bool_t | DelText (TGLongPosition start, TGLongPosition end) |
| Delete text between start and end positions. More...
|
|
char | GetChar (TGLongPosition pos) |
| Get character a position pos. If charcater not valid return -1. More...
|
|
TGTextLine * | GetCurrentLine () const |
|
const char * | GetFileName () const |
|
char * | GetLine (TGLongPosition pos, ULong_t length) |
| Return string at position pos. More...
|
|
Long_t | GetLineLength (Long_t row) |
| Get length of specified line. Returns -1 if row does not exist. More...
|
|
Long_t | GetLongestLine () const |
|
Bool_t | InsChar (TGLongPosition pos, char c) |
| Insert character c at the specified position pos. More...
|
|
Bool_t | InsLine (ULong_t row, const char *string) |
| Insert string before specified position. More...
|
|
Bool_t | InsText (TGLongPosition ins_pos, TGText *src, TGLongPosition start_src, TGLongPosition end_src) |
| Insert src text from start_src to end_src into text at position ins_pos. More...
|
|
Bool_t | InsText (TGLongPosition pos, const char *buf) |
| Insert single line at specified position. More...
|
|
Bool_t | IsSaved () const |
|
Bool_t | Load (const char *fn, Long_t startpos=0, Long_t length=-1) |
| Load text from file fn. More...
|
|
Bool_t | LoadBuffer (const char *txtbuf) |
| Load a 0 terminated buffer. Lines will be split at '
'. More...
|
|
Bool_t | Replace (TGLongPosition start, const char *oldText, const char *newText, Bool_t direction, Bool_t caseSensitive) |
| Replace oldText by newText. Returns false if nothing replaced. More...
|
|
void | ReTab (Long_t row) |
| Redo all tabs in a line. Needed after a new tab is inserted. More...
|
|
Long_t | RowCount () const |
|
Bool_t | Save (const char *fn) |
| Save text buffer to file fn. More...
|
|
Bool_t | Search (TGLongPosition *foundPos, TGLongPosition start, const char *searchString, Bool_t direction, Bool_t caseSensitive) |
| Search for string searchString starting at the specified position going in forward (direction = true) or backward direction. More...
|
|