RichEdit: SingleLine, Filter

git-svn-id: svn://ultimatepp.org/upp/trunk@2845 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2010-11-14 23:32:12 +00:00
commit 44ffc21d29
5 changed files with 11 additions and 1 deletions

View file

@ -76,6 +76,7 @@ bool RichEdit::Accept(PasteClip& d, RichText& clip)
void RichEdit::ClipPaste(RichText& clip)
{
Filter(clip);
NextUndo();
if(clip.GetPartCount() == 1 && clip.IsTable(0)) {
CancelSelection();