Jump to content

Recommended Posts

Posted (edited)

You would probably need to know about the specific text editor.  EditPad Lite 7 will have the word "Insert" or "Overwrite" in the status bar.  Other editors may use a block cursor or caret depending on the mode.  Notepad seems to stay in Insert mode no matter what I do.  You may be able to detect the editor by accumulating the class names of windows used by them and check for tell tale signs.  But I suspect many of the simple editors will change mode without any indicator.  The user can tell the mode by watching if the text is overwritten or inserted. :)

I would have thought more would use a block cursor for overwrite mode.  But there seems to be no standard behavior.

 

Edited by MilesAhead
Posted

Thanks for your response!
That was the answer I already suspected.

I'll try to evaluate the content of the status bars, to detect, if the overwrite mode is enabled.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...