git-svn-id: svn://ultimatepp.org/upp/trunk@413 f0d560ea-af0d-0410-9eb7-867de7ffcac7

This commit is contained in:
cxl 2008-09-09 10:04:46 +00:00
parent 9eaf2cb811
commit 49f828dcd1
13 changed files with 116 additions and 42 deletions

View file

@ -228,9 +228,9 @@ void RichQtfParser::SetFormat()
}
void RichQtfParser::Flush() {
SetFormat();
if(text.GetLength()) {
ASSERT(!istable);
paragraph.format = format;
paragraph.Cat(text, format);
text.Clear();
}
@ -639,6 +639,8 @@ void RichQtfParser::Parse(const char *qtf, byte _accesskey)
case 'P': format.newpage = !format.newpage; break;
case 'k': format.keep = !format.keep; break;
case 'K': format.keepnext = !format.keepnext; break;
case 'H': format.ruler = GetNumber(); break;
case 'h': format.rulerink = GetColor(); break;
case 'Q': format.orphan = !format.orphan; break;
case 'n': format.before_number = GetText(';'); break;
case 'm': format.after_number = GetText(';'); break;