Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I change Delphi's cursor shape when it's in overwrite mode?

Tags:

delphi

When using Delphi, any version, I sometimes happen to hit the insert key and turn on overwrite mode. This is often a great nuisance and the only indication you have entered overwrite mode is the small text at the bottom of the editor.

When using other programs (first to come to mind is Notepad++) when you are in insert mode the text cursor is | and when you are in overwrite mode the cursor changes to _

Is there an option somewhere or a way to have Delphi use a different text cursor when in overwrite mode?

like image 546
Tim Avatar asked Apr 25 '11 19:04

Tim


People also ask

How do I change my overwrite cursor?

Press the "Ins" key to toggle overtype mode off. Depending on your keyboard model, this key may also be labeled "Insert." If you simply want to disable overtype mode but keep the ability to toggle it back on, you are done.

How do I turn off overwrite in Pycharm?

If it has no keyboard shortcut, or you can't be bothered to remember it, you can toggle it by pressing Command/Ctrl + Shift + A , type "overwrite" in the popup, which should bring up the "Toggle Insert/Overwrite" option, and hit enter.

How do you stop overwrite in Python?

While the overwrite mode is on the code overwrites instead of code moving to right. This depends on the editor. Usually the insert key on your keyboard toggles this though. There's also often an indicator in the bottom right of the window that can be clicked to toggle it.


1 Answers

In my opinion, the 'normal' behaviour is that the caret is a thin vertical line in insert mode, and a thick (1 character wide) block in overwrite mode.

Apparently, the IDE doesn't support this. But it does support 'BRIEF cursor shapes'. They probably mean 'Brief caret shapes', but we still understand what they mean, right? ;)

Using this option, the insert caret is a thin horizontal line (uncommon!), and the overwrite caret is the normal thick block that we are all used to (common).

Delphi 2009 IDE options

like image 72
Andreas Rejbrand Avatar answered Sep 21 '22 13:09

Andreas Rejbrand