サブエディタビューを取得する
サブエディタビューは、IEditorPageオブジェクトのSubEditorViewプロパティを用いて取得できます。IEditorPageオブジェクトは、IWorkspaceWindow.EditorPageプロパティを用いて取得できます。
public void SomeCommand(ICommandContext c, ICommandParams p)
{
    // サブエディタビューを取得します
    IEditorView subEditorView = c.App.Window.EditorPage?.SubEditorView;
    //...
}