AddTextRunToCurrentLine() публичный Метод

public AddTextRunToCurrentLine ( EditableRun t ) : void
t EditableRun
Результат void
Пример #1
0
 public override void InvokeRedo(InternalTextLayerController textdom)
 {
     textdom.CurrentLineNumber = startLineNumber;
     textdom.CharIndex         = startCharIndex;
     if (singleInsertTextRun != null)
     {
         textdom.AddTextRunToCurrentLine(singleInsertTextRun);
     }
     else
     {
         textdom.AddTextRunsToCurrentLine(insertingTextRuns);
     }
 }
Пример #2
0
 public override void InvokeRedo(InternalTextLayerController textdom)
 {
     textdom.CurrentLineNumber = startLineNumber;
     textdom.CharIndex = startCharIndex;
     if (singleInsertTextRun != null)
     {
         textdom.AddTextRunToCurrentLine(singleInsertTextRun);
     }
     else
     {
         textdom.AddTextRunsToCurrentLine(insertingTextRuns);
     }
 }