Automatically deleting spaces around selection

Post Reply
captainping
Posts: 19
Joined: Wed Dec 30, 2020 8:22 pm

Automatically deleting spaces around selection

Post by captainping »

Having used Word for about 30 years, I've become used to this feature: If you select a word by double-clicking, then hit the delete key, Word deletes the word and also the space(s) that follow it. This makes it easy to quickly edit. You don't have to follow deleting words with making sure that there are no straggler spaces left behind. This is pretty standard text-editing behavior. THIS FORUM WEBSITE, for example, does it.

TextMaker doesn't seem to do this. Is there a Preference to make it do so?

If not, can this feature be added, perhaps as a Preference?

Thanks!
Jossi
SoftMaker Volunteers
SoftMaker Volunteers
Posts: 1260
Joined: Fri Dec 05, 2003 10:47 pm
Location: Luebeck, Germany

Re: Automatically deleting spaces around selection

Post by Jossi »

Did you check Tools > Options, tab "Edit", "Add or remove spaces when pasting"?
captainping
Posts: 19
Joined: Wed Dec 30, 2020 8:22 pm

Re: Automatically deleting spaces around selection

Post by captainping »

This option was already checked.

I've done some more investigation. It's true that SOMETIMES the space after the word is deleted sometimes not. I haven't been able to nail down when these cases happen, but I have created a .docx file the demonstrates this, and it is attached.

Open the file, double-click the word, "editing" and hit the delete key. The trailing space is deleted along with the word.

Double click the word, "goo" and then hit the delete key. The trailing space is NOT deleted.

Thanks!
Attachments
Delete Surrounding Spaces Bug.docx
(15.39 KiB) Downloaded 381 times
Jossi
SoftMaker Volunteers
SoftMaker Volunteers
Posts: 1260
Joined: Fri Dec 05, 2003 10:47 pm
Location: Luebeck, Germany

Re: Automatically deleting spaces around selection

Post by Jossi »

Confirmed.
I think I have found the reason: to decide what is to be considered as a word, TextMaker uses its internal dictionary. With known words, removal of spaces works as expected, with unknown words it doesn't.
captainping
Posts: 19
Joined: Wed Dec 30, 2020 8:22 pm

Re: Automatically deleting spaces around selection

Post by captainping »

If it is true that TextMaker only deletes trailing whitespace if a word is in its dictionary:
This is really non-standard behavior and should be changed! Imagine if the document were a scientific paper using new terms or acronyms. It would be really wrong to treat these words differently than other words. Even more so if a programmer (like me) were to use TextMaker.

If not:
Please tell us what is going on, and/or fix the bug.

Thanks,
Christopher
SuperTech
SoftMaker Team
SoftMaker Team
Posts: 3172
Joined: Wed Mar 11, 2020 5:31 pm

Re: Automatically deleting spaces around selection

Post by SuperTech »

Thanks for reporting this problem. I tried to reproduce this problem as you mentioned, but I didn't find any problem. Please check this screen recording of your file for your reference.

Please make sure you checked the option “Add or remove spaces when pasting” in File | Options | Edit.
Deleting space with selected word.gif
Jossi
SoftMaker Volunteers
SoftMaker Volunteers
Posts: 1260
Joined: Fri Dec 05, 2003 10:47 pm
Location: Luebeck, Germany

Re: Automatically deleting spaces around selection

Post by Jossi »

This is funny, as I can reproduce captainping's problem:
removespaces.gif
And of course “Add or remove spaces when pasting” is set.
SMO 2021 rev. 1026.0116 32bit on Win 10 Pro 1909 in Parallels Desktop VM on Mac OS Mojave 10.14.6
Mac Mini Intel Core i7 4x2,3 GHz, 16 GB RAM (2 cores and 8 GB RAM for Windows)
Post Reply

Return to “TextMaker 2021 for Mac”