-
Notifications
You must be signed in to change notification settings - Fork 451
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sample request: Hosting IWpfTextView in Dialog Window #286
Comments
Certainly appears doable with a ToolWindowPane see https://joshvarty.com/2014/08/01/ripping-the-visual-studio-editor-apart-with-projection-buffers/ I can get the host control using the services, it is not read only but certain keys such as backspace does not work.
The example that uses a ToolWindowPane with IOleCommandTarget passes on to the IVsTextView. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Installed products
Description
How to embed Visual Studio editor (
IWpfTextView
) within custom dialog box?I have this code, that almost work... but the editor is read-only. No mater what I do it does not process any input (keyboard nor mouse).
There is an extension that hosts mentioned editor on custom dialog box, but there is no code (beside decompiling it).
https://marketplace.visualstudio.com/items?itemName=VisualStudioProductTeam.RegexEditor
Someone has posted similar question on stackoverflow without any response 😭
https://stackoverflow.com/questions/70091440/editor-pane-in-iwpftextview-is-not-editable
The text was updated successfully, but these errors were encountered: