Beispiel #1
0
 public override void Execute(LogEditorCtxMenuContext context)
 {
     context.TextPane.Write(TextColor.Blue, "H");
     context.TextPane.Write(TextColor.Red, "E");
     context.TextPane.Write(TextColor.Green, "L");
     context.TextPane.Write(TextColor.Yellow, "L");
     context.TextPane.Write(TextColor.Cyan, "O");
     context.TextPane.Write(TextColor.Gray, "!");
     context.TextPane.WriteLine();
 }
Beispiel #2
0
 public override void Execute(LogEditorCtxMenuContext context) =>
 context.TextPane.WriteLine(TextColor.Error, "I'm afraid I can't do that.");