Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: The editor doesn't switch between INS/OVR modes #337

Open
nalsuriv opened this issue May 27, 2024 · 0 comments
Open

[BUG]: The editor doesn't switch between INS/OVR modes #337

nalsuriv opened this issue May 27, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@nalsuriv
Copy link

Description

The editor always opens files in the 'Insert' mode, i.e., if one wants to add something to previously written text, they can place a cursor wherever they wish, and type in the missing text.

However, if one wants to replace the previously written text, pressing the [insert] button doesn't switch to the 'Overtype' mode (immediate character-for-character replacement), as it does in many plain-text editors.

To Reproduce

  1. Create or open a text file in the application.
  2. Write some text in the file.
  3. Place the cursor anywhere before the end of the text.
  4. Press the 'Insert' key on your keyboard.
  5. Write some more text in the file.
  6. Previous text does not get replaced.
  7. Create or open a text file in another text editor (Kate, Notepad++, Geany, gedit etc).
  8. Write some text in the file.
  9. Place the cursor anywhere before the end of the text.
  10. Press the 'Insert' key on your keyboard.
  11. Write some more text in the file.
  12. Previous text gets replaced with new text as you type it.
  13. Press the 'Insert' key on your keyboard again.
  14. Place the cursor anywhere before the end of the text.
  15. Write some more text in the file.
  16. Previous text does not get replaced.
  17. Compare and contrast.

Expected behavior
The text editor needs to react to the pressing of the [Insert] key the same way other text editors behave (Kate, Notepadqq, etc.), and switch between INS/OVR modes accordingly.

@nalsuriv nalsuriv added the bug Something isn't working label May 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant