Execute native plugins in edit mode?

Is it possible to execute a native plugin in edit mode? Using ExecuteInEditMode seemed to only call the plugin a few times and then stop.

More specifically, if yes to the above, can you render in the edit window rendering context from a native rendering plugin?

Native plugins work in edit mode but using the usual yield return new WaitForEndOfFrame() means the GL.IssuePluginEvent() is only going to get called when the Scene view is repainted, so you need to constantly move the camera or an object to trigger it.