STR #3175

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 Home  |  Articles & FAQs  |  Bugs & Features  |  Documentation  |  Download  |  Screenshots  ]
 

Return to Bugs & Features | Roadmap 1.3 | Post Text | Post File | SVN ⇄ GIT | Prev | Next ]

STR #3175

Application:FLTK Library
Status:5 - New
Priority:2 - Low, e.g. a documentation error or undocumented side-effect
Scope:3 - Applies to all machines and operating systems
Subsystem:Core Library
Summary:Fl_Text_Editor overstrike mode doesn't behave as expected
Version:1.3.3
Created By:AlbrechtS
Assigned To:Unassigned
Fix Version:Unassigned
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:

Post File ]
Name/Time/Date Filename/Size top right image
 
#1 AlbrechtS
06:11 Jan 07, 2015
Fl_Text_Editor_overstrike_selection.patch
1k
 
bottom left image   bottom right image

Trouble Report Comments:

Post Text ]
Name/Time/Date Text top right image
 
#1 AlbrechtS
06:10 Jan 07, 2015
Asking for comments.

Fl_Text_Editor in overstrike mode does some strange (unusal, unexpected) things. Other editors seem to behave differently.

(1) When a selection exists and text is inserted by pressing ctrl/v then Fl_Text_Editor removes the selection and overstrikes the following text after the previous selection. The expected behavior would be to replace only the selected text. gedit behaves as expected (IMHO), I didn't check other editors yet.

The attached file Fl_Text_Editor_overstrike_selection.patch fixes this.

(2) When no selection exists ctrl/v does overstrike the text after the current cursor position. gedit behaves differently: ctrl/v always inserts text, no matter what mode (insert or overstrike) is active.

I didn't investigate further, but I assume that drag'n'drop may have similar issues.

I'm asking for comments on this, since changing the behavior of the editor widget might be a compatibility problem, but I believe the unusual behavior should be investigated and fixed eventually (if needed).
 
 
#2 AlbrechtS
15:35 Jan 16, 2023
Unassigned myself, asking for help.

Matthias, Greg, Manolo, Ian, any comments?

PS: I believe what I meant with "overstrike mode" is: use the keyboard key "Insert" or "Ins" (I need to press the special "Fn" key on my notebook keyboard as well), and then the input switches to "overstrike mode" which replaces the character "under" the cursor with the typed text. For the rest, please see the description above.
 
bottom left image   bottom right image

Return to Bugs & Features | Post Text | Post File ]

 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.