9

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?

4
  • 1
    The other indication that you're in overwrite mode, is that stuff starts overwriting. I think we all just get used to it, see it, ctrl+Z to undo, tap Insert, and go on. Commented Apr 25, 2011 at 19:44
  • Yes I have come to know that routine all too well.
    – Tim
    Commented Apr 25, 2011 at 19:46
  • But overwrite mode can be very useful sometimes. Commented Apr 25, 2011 at 20:19
  • Agreed, I do make use of it at times, its just the accidental times that annoy.
    – Tim
    Commented Apr 26, 2011 at 11:41

1 Answer 1

5

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

6
  • 1
    Also known as "DOS program edit cursors", if you remember that far back.
    – Ken White
    Commented Apr 25, 2011 at 20:08
  • @Ken: Well, but I am pretty sure that the official Win32 terminology makes a very clear distinction between cursors and carets. Commented Apr 25, 2011 at 20:12
  • Yes, but Brief was a DOS editor published by Borland pre-Windows, so "Brief cursor shapes" relates to before "official Win32 terminology". :)
    – Ken White
    Commented Apr 25, 2011 at 23:13
  • The thin horizontal line was very common in DOS character mode applications, and it was called a cursor back then. DOS character mode applications typically didn't use the mouse at all. Commented May 24, 2011 at 3:36
  • i do not see this option in D7
    – CyprUS
    Commented Apr 5, 2012 at 13:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.