editor2 text space editing bug...

Questions & Answers

Moderators: fgagnon, nikos, Site Mods

Post Reply
TsunamiZ
Gold Member
Gold Member
Posts: 597
Joined: 2005 Nov 06, 04:44

editor2 text space editing bug...

Post by TsunamiZ »

sample text...

Code: Select all

yes, but
In editor2, I want to edit that text by double clicking between "yes" and "but" to highlight the comma and the space.  Next I want to press spacebar to replace both the comma and the space to make it simply a space between the words.  But there is a bug that causes 2 spaces in between the words instead of one.  Can this be fixed?

BTW: This bug only happens when I double click to highlight.  Doesn't happen when I manually highlight by dragging with the cursor or by using shift+arrows.
Kilmatead
Platinum Member
Platinum Member
Posts: 4578
Joined: 2008 Sep 30, 06:52
Location: Dublin

Post by Kilmatead »

Curious, this.  Both Office Word 07 and WordPad exhibit this same behaviour as Ed2.  MS NotePad always selects the word before the comma as well - it does not select only punctuation.  As for 3rd party editors, NotePad++ does what you would expect, properly.

Odd. :shrug:  (As this bug is shared across MS applications, it might be in the MFC itself, as exhibited in the disclaimer for the WordPad source code.)

P.S. You are aware there's an Editor2 Forum page for questions like these? :wink:
Post Reply