Automatically deleting spaces around selection

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

Automatically deleting spaces around selection

Post by captainping » Fri Jan 22, 2021 7:22 pm

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: 1095
Joined: Fri Dec 05, 2003 10:47 pm
Location: Luebeck, Germany

Re: Automatically deleting spaces around selection

Post by Jossi » Sat Jan 23, 2021 2:50 pm

Did you check Tools > Options, tab "Edit", "Add or remove spaces when pasting"?

captainping
Posts: 13
Joined: Wed Dec 30, 2020 8:22 pm

Re: Automatically deleting spaces around selection

Post by captainping » Sat Jan 23, 2021 10:15 pm

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 18 times

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

Re: Automatically deleting spaces around selection

Post by Jossi » Mon Jan 25, 2021 11:39 am

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: 13
Joined: Wed Dec 30, 2020 8:22 pm

Re: Automatically deleting spaces around selection

Post by captainping » Mon Jan 25, 2021 6:08 pm

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: 1415
Joined: Wed Mar 11, 2020 5:31 pm

Re: Automatically deleting spaces around selection

Post by SuperTech » Mon Jan 25, 2021 6:36 pm

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: 1095
Joined: Fri Dec 05, 2003 10:47 pm
Location: Luebeck, Germany

Re: Automatically deleting spaces around selection

Post by Jossi » Tue Jan 26, 2021 12:22 pm

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”