public static void Write(this string msg) { Application.DocumentManager.MdiActiveDocument?.Editor?.WriteMessage($"\n{msg}"); } }