improve formatting removal

This commit is contained in:
Andrzej Rybczak
2009-04-19 22:19:52 +02:00
parent 88fa887776
commit c7251ebb98
5 changed files with 54 additions and 20 deletions

View File

@@ -35,7 +35,7 @@ namespace NCurses
void Flush();
bool SetFormatting(short, const std::basic_string<my_char_t> &, short, bool for_each = 1);
void RemoveFormatting(short value) { itsBuffer.RemoveFormatting(value); }
void RemoveFormatting();
std::basic_string<my_char_t> Content() { return itsBuffer.Str(); }
virtual void Refresh();
@@ -67,6 +67,11 @@ namespace NCurses
int itsBeginning;
bool itsFoundForEach;
short itsFoundValueBegin;
short itsFoundValueEnd;
std::basic_string<my_char_t> itsFoundPattern;
size_t itsRealHeight;
};
}