Scid
4.7.0
|
#include <textbuf.h>
Public Member Functions | |
TextBuffer () | |
~TextBuffer () | |
void | Init () |
void | Free () |
void | Empty () |
void | SetBufferSize (uint length) |
uint | GetBufferSize () |
uint | GetByteCount () |
uint | GetLineCount () |
uint | GetColumn () |
uint | GetWrapColumn () |
void | SetWrapColumn (uint column) |
uint | GetIndent () |
void | SetIndent (uint column) |
char * | GetBuffer () |
void | NewlinesToSpaces (bool b) |
void | AddTranslation (char ch, const char *str) |
void | ClearTranslation (int ch) |
void | ClearTranslations () |
void | PauseTranslations () |
void | ResumeTranslations () |
errorT | NewLine () |
errorT | Indent () |
errorT | PrintLine (const char *str) |
errorT | PrintWord (const char *str) |
errorT | PrintString (const char *str) |
errorT | PrintSpace () |
errorT | PrintChar (char b) |
errorT | PrintInt (uint i, const char *str) |
errorT | PrintInt (uint i) |
void TextBuffer::AddTranslation | ( | char | ch, |
const char * | str | ||
) |
Definition at line 66 of file textbuf.cpp.
void TextBuffer::Empty | ( | void | ) |
Definition at line 51 of file textbuf.cpp.
void TextBuffer::Free | ( | void | ) |
Definition at line 35 of file textbuf.cpp.
errorT TextBuffer::Indent | ( | ) |
Definition at line 116 of file textbuf.cpp.
void TextBuffer::Init | ( | void | ) |
Definition at line 21 of file textbuf.cpp.
errorT TextBuffer::NewLine | ( | ) |
Definition at line 98 of file textbuf.cpp.
errorT TextBuffer::PrintChar | ( | char | b | ) |
Definition at line 187 of file textbuf.cpp.
Definition at line 232 of file textbuf.cpp.
errorT TextBuffer::PrintLine | ( | const char * | str | ) |
Definition at line 135 of file textbuf.cpp.
errorT TextBuffer::PrintSpace | ( | void | ) |
Definition at line 172 of file textbuf.cpp.
errorT TextBuffer::PrintString | ( | const char * | str | ) |
Definition at line 200 of file textbuf.cpp.
errorT TextBuffer::PrintWord | ( | const char * | str | ) |
Definition at line 151 of file textbuf.cpp.
void TextBuffer::SetBufferSize | ( | uint | length | ) |
Definition at line 80 of file textbuf.cpp.