#import <ctext.h>
Public Member Functions | |
| (id) | - init |
| Initialize CText object. | |
| (id) | - initWithString: |
| Initialize text object by string. | |
| (void) | - dealloc |
| Release resource for the object. | |
| (uint_t) | - lineNum |
| Get number of lines in the text. | |
| (NSString *) | - lineAtIndex: |
| Get one line from text. | |
| (void) | - appendLine: |
| Append new line to the text. | |
| (void) | - appendSomeLines: |
| Append some lines to the text. | |
| (void) | - prependLine: |
| Prepend new string as a 1st line in text. | |
| (void) | - prependSomeLines: |
| Prepend some lines to the heading of text. | |
| (uint_t) | - width |
| Get max width of line in the text. | |
| (void) | - print: |
| Print the content of text. | |
| (CText *) | - paste: |
| Join other text for each lines and generate text from them. | |
Protected Attributes | |
| NSMutableArray * | line_array |
|
|
Append new line to the text.
|
|
|
Append some lines to the text.
|
|
|
Release resource for the object.
|
|
|
Initialize CText object.
|
|
|
Initialize text object by string.
|
|
|
Get one line from text.
|
|
|
Get number of lines in the text.
|
|
|
Join other text for each lines and generate text from them.
|
|
|
Prepend new string as a 1st line in text.
|
|
|
Prepend some lines to the heading of text.
|
|
|
Print the content of text.
|
|
|
Get max width of line in the text.
|
|
|
Array of lines in text |
1.4.6