mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-09-09 11:34:54 -06:00
External context support in RichText / RichEdit
git-svn-id: svn://ultimatepp.org/upp/trunk@972 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
8085dfdde4
commit
178e234cf7
23 changed files with 173 additions and 52 deletions
|
|
@ -277,7 +277,7 @@ void RichEdit::InsertObject(int type)
|
|||
RichObjectType& richtype = RichObject::GetType(type);
|
||||
RichObject object = RichObject(&richtype, Value());
|
||||
RichObject o = object;
|
||||
o.DefaultAction();
|
||||
o.DefaultAction(context);
|
||||
if(o.GetSerialId() != object.GetSerialId()) {
|
||||
RichText::FormatInfo finfo = GetFormatInfo();
|
||||
RemoveSelection();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue