can double-click be made to work for word-select in 'Output' pane? triple-click for line-select?
Another behavior that's been present in LINQPad 4, still present in LINQPad 5.0.4, just reporting in case it's fixable during beta.
AFAICT the Output pane is a hosted instance of IE, but double-clicking on words in IE windows seems to work fine for doing word-select , but it doesn't work (does nothing) in the Output pane.
If I do a 'view source' from the output pane, save that to a file, then open the file in IE, double-click and triple-click work.
If I go to about:blank in IE, F12 to modify the source to be the same as what's in the output pane source, the double-click and triple-click work.
I can still click-drag for selecting like 'normal' but since double-click and triple-click seem to work fine in an instance of IE, I was hoping maybe this is just an IE setting during its hosting that could be changed?
Thanks!
AFAICT the Output pane is a hosted instance of IE, but double-clicking on words in IE windows seems to work fine for doing word-select , but it doesn't work (does nothing) in the Output pane.
If I do a 'view source' from the output pane, save that to a file, then open the file in IE, double-click and triple-click work.
If I go to about:blank in IE, F12 to modify the source to be the same as what's in the output pane source, the double-click and triple-click work.
I can still click-drag for selecting like 'normal' but since double-click and triple-click seem to work fine in an instance of IE, I was hoping maybe this is just an IE setting during its hosting that could be changed?
Thanks!
Comments
https://connect.microsoft.com/VisualStudio/feedback/details/792884/windows-forms-webbrowser-on-usercontrol-with-ie-10-installed-breaks-double-click-text-select#tabs
I've tried all the workarounds, but nothing seems to work reliably. If you can give me something that works, I'll take a look.
One workaround is not to set them at all (leaving them as their defaults of AllowWebBrowserDrop = true and ScriptErrorsSuppressed = false), but assuming that's not a viable option, then setting them after the parent.Controls.Add(webBrowser) seems to work.
This is going based on the repro sln attached to the bug, so if you've already tried that and it doesn't work for you, do you have a different repro sln I could try?
Thanks, Joe!
Thanks!
I was hoping for a workaround like this:
http://stackoverflow.com/a/25400426/46223
If there's an archive of LINQPad versions I could download I can try to bisect it down to a particular version where double-click stopped working? Not sure if that's of any value, but would be happy to do so if it helps isolate the bug and leads to a fix.
If someone with expertise in Javascript could come up with a simple and reliable bit of JS - or something involving the IE DOM, that would be the safest solution. It only has to work with IE.
Note a small caveat: that the "double click speed" is set as part of the script, and won't use the system setting from Windows...
Tested on IE11, also works on Firefox; untested on Chrome. Edit: Forgot to mention, for testing, I used the following CSS to prevent the browser's default selection behavior:
will this make it in to a vNext?
https://linqpad.uservoice.com/forums/18302-linqpad-feature-suggestions/suggestions/3860459-select-highlight-text-in-the-rich-text-results-p