mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-10-06 00:30:10 -06:00
RichText: Header/Footer can be changed by paragraph/table
git-svn-id: svn://ultimatepp.org/upp/trunk@10084 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
d65073ef29
commit
4b1727cab9
25 changed files with 506 additions and 356 deletions
|
|
@ -14,8 +14,9 @@ struct ParaFormatDlg : public WithParaFormatLayout<TopWindow> {
|
|||
void RichEdit::ParaFormat()
|
||||
{
|
||||
ParaFormatDlg d;
|
||||
d.para.Set(unit, formatinfo);
|
||||
if(d.Execute() != IDOK || !d.para.IsChanged()) return;
|
||||
d.para.Set(unit, formatinfo, !IsSelection() && cursorp.level == 0);
|
||||
if(d.Execute() != IDOK || !d.para.IsChanged())
|
||||
return;
|
||||
dword v = d.para.Get(formatinfo);
|
||||
if(v) ApplyFormat(0, v);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue