Remove vertical white line in the middle of IDE code editor - delphi

I'm using 2 monitors. On the 2nd one, I have the Delphi IDE, using the Classic undocked settings.
There is a white vertical line in the middle of the IDE cutting through the source code. I can't seems to find the option in the settings to remove it.

That line is the Code Editor's "Right margin". You can turn that on/off in the Display section of the Code Editor settings, or you can set how many characters from the left edge of the editor you want the line to appear (the default is 80 chars).
See Customizing the Code Editor for more details.

Related

Why is my Octave GUI editor so buggy? How can I fix it?

The editor for the GUI is a complete mess. When I create a brand new script, the spacing and font are relatively ok.
However, if I open any existing function, it is shown with way too much space between lines, and spaces and tabs show way more space than they should. An example is shown below:
I tried selecting the Edit - Preferences - General - Use custom file editor options, and chose "notepad++ -n%l %f. I have notepad++ installed already on my computer.
When I selected this option and clicked ok, the Octave GUI crashed. When I tried to reopen a file now, I get the error "could not start custom file editor".
If I change the font, it temporarily fixes the issue. But none of the changes persist. Often clicking OK crashes octave. And any time it's reopened, the fonts revert to default, and the spacing problems returns.
How can I make the editor show an appropriate leading and space width?
I would also like to be able to further customize, if possible. For example I'd like it to use a dark theme. But for now just showing a reasonable space between lines would make this at least useable.
I'm using Windows 10, Octave version 6.4.0

How do I disable code folding in Spyder 4?

Spyder 4 is great. Is there a way to disable code folding? I find I am frequently collapsing sections of code when I try to set a break point.
Go to Tools > Preferences
Click on Editor on the left, then on the display tab uncheck the "Show code folding" option. That should remove the small triangles from the left of main editor window.

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.

Using Unicode characters with Delphi XE2

I'm looking at converting one of our applications to Delphi XE2 and generally take the opportunity to bring it up to date.
One of the features of the application is a StringGrid that displays a number of check marks in a couple of columns. To achieve this the grid is actually 2 aligned grids - the second of which is setup with the font as Wingdings in order to display the check marks.
Am I wrong in thinking that I should be able to use something like a TListView and use the checkmark char (U+2713) alongside the rest of the text... If so how the heck do I do this?
Do I need to set the font to Wingdings for that column? Does this need to be in OnDraw?
Am I barking up the wrong tree...
File->New->VCL Forms application
In the Component Palette, expand the Win32 tab and choose TListView, and drop it on the form.
Right-click the newly added TreeView1, and choose Items Editor... from the context menu.
Click New Item. Type in any text (for instance x Testing, using the 'x' as a placeholder for now).
Start the Windows Character Map application (Start button, type Chara in the search box, or Start->Programs->Accessories->Character Map). Change the font to Arial Unicode MS, and navigate to the character you want (it's in there).
Click the character, and then the Copy button. Switch back to the IDE, select the x placeholder you put in the edit, and hit Ctrl+V to paste the character you just chose from Character Map. You should now see your check mark (or whatever character you chose), followed by Testing.
(The steps above are the two-minute process I followed to find out how to do this, and that quick experiment showed that you could.)

Does RubyMine have TextMate-style multiple line editing?

Is there a shortcut key for editing multiple lines in RubyMine (Windows) as you can do with TextMate? I've seen it in TextMate where you can highlight multiple lines, and press a key code, then start typing. All text you type will appear at the end of all of the highlighted lines. I would love to do this with RubyMine as well.
Thanks!
Yes, this feature is called Column Mode and can be enabled via Edit menu or keyboard shortcut.
RubyMine version 6.3 and later has real multiple line editing. Simultaneously edited areas of text need not be vertically adjacent and vertically aligned (as they must be to use Column Selection Mode).
Briefly,
option-click (on Mac; alt-click on Windows or Linux) to create additional carets, edit as usual, then hit escape to revert to a single caret
select some text and control-G (on Mac; alt-J on Linux and Windows) to search for the next occurrence of that text and add a caret to it
There are also editor commands to add carets (Clone Caret Below, Clone Caret Above) that are not bound by default, but that you can bind to keys of your choice.
More here: What’s Mining: Multiple Cursors and Selection
(Column Selection Mode still works fine for areas of text that are vertically adjacent and aligned.)

Resources