how to read the SPYDER code analysis message box with keyboard shortcut - spyder

Is it possible to read the contents of the spyder code analysis message box in the editor without have to use the mouse?
It would be nice to read the messages as one scrolls through the editor with the arrow keys

Related

Allow user to select text in ShowMessage dialog

I am writing a program in Delphi XE2. At one point in my program the user will be presented with output text, which I display through a simple "showmessage('The text of interest')" dialog.
I would like for the user to be able to copy and paste this text if they like to. It's not a key part of the program at all but I know that it might be nice for them to be able to do so.
At the moment, as far as I can see, it is not possible to select all or parts of the text from this type of message box, which brings me to my question: is there some way to make the message box text selectable for the user, or will I have to move on to other ways of displaying the text if I want this functionality? Any help would be greatly appreciated.
When you call ShowMessage a system message dialog is shown. This dialog does not support highlighting of individual portions of text. However, the dialog does respond to CTRL + C by placing the entire content of the dialog on the clipboard.
If you absolutely must have selection of individual portions of text then you will need to create the dialog yourself using Delphi controls.

Eclipse - preview source in separate window on mouse click?

I'm looking for a way to be able to preview code related to what's under my cursor in a separate window when I click the mouse/touchpad. Eg. definition for methods / member variables etc.
Something like the results of Ctrl+Click but instead of opening the file in my main editor window, I'd like to see the results in a small window below the main editor window (a 'code preview' window).
Ideally, the 'code preview' window doesn't hide any code surrounding the preview of the item under the cursor.
This happens for eg. in Source Insight & VSlick. It gives the ability to browse another section of the code in a small window while the main source is open in the main window.
I find it very useful.
Is there any way / plugin etc to do this in ADT/Eclipse ?
I'm new to Eclipse and using the ADT flavor (Eclipse Platform 4.2.1.v20130118) for Android Java dev.
Thanks!
Press Shift and hover the mouse cursor over the method or variable - it will show a small popup with the source preview.
You must be sure it is enabled in Preferences (Preferences->Java->Editor->Hovers, "Source" line should be checked).
Checked with Eclipse 4.4.

How to prevent large popup hint in Messages Panel?

In my Delphi IDE (XE2) in the messages panel when hovering over the blank line before the Build Succeeded message, I get a very large popup hint displayed that covers the entire screen in which all my library paths are displayed. This occurs on the Output tab of the Messages pane.
Here is a screen shot of where this is happening:
It is very annoying.
I have some IDE Experts installed:
GExperts
JCL Options
I have looked through the settings and cannot see anything related to where this would be turned off.
Does this happen with anyone else and is there a way to stop it?
What you're seeing is the text of what command line would be sent to the command line compiler, being displayed in a hint window.
Before the hint:
With the hint:
If you look at the first part of that image, it starts with (on my system)
c:\rad studio\5.0\bin\dcc32.exe
which is the Delphi command line compiler.
The solution is to not put your mouse on the line right below the target compile line (which is the only place you can see this - by hovering the mouse over the line below 'Target SomethingCompileentry (in my second screen capture, it's the line belowTarget CoreCompile`).
If you don't want to see that hint window, don't hover your mouse over it in the first place. (It's like hint text over a label - if you don't want to see the hint, don't leave your mouse pointer over that label.) It's not like it's a huge area on the screen you have to avoid - it's just that single line of output in the window.

Custom print dialog in VB6

How do I create this custom print dialog and get the values of the red options when the user clicks ok?
The print dialog below is not created manually, the app I took this screenshot from is probably modifying the default print dialog.
The items circled in red is associated with some data found in the app I took the screenshot from.
The class name of this dialog is #32770 (Dialog) which is the same print dialog found in notepad, wordpad, and vb6 common dialog print. So it is clear that it is modifying the dialog, adding controls to it somehow
You could look at Customizing Common Dialog Boxes but don't expect this to be simple from VB6. it is clumsy enough in C++.
You could just create your own dialog Form.
Update:
Perhaps consider using the download in HOW TO: Raise and Control Print Dialog Boxes from Visual Basic?

How to sync Webbrowser caret position with TMemo

How to sync Webbrowser (in Edit Mode) line with TMemo containing raw html? The position of the caret is not necessary but would be a nice feature. Plenty of google searches failed to show how to accomplish this task.
It sounds like you want a way to click somewhere on an HTML page and edit the HTML source of wherever you clicked.
An internet search returned possibilities as Detect cursor position in TWebBrowser at edit mode or http://www.pcreview.co.uk/forums/re-finding-cursor-t1855943.html. These aren't Delphi specific answers but might get you started with how to interact with the DOM to do what you are looking for.

Resources