Document classes have a preference called "Include trailing spaces when selecting words". I suspect the motivation for turning on this preference is so that cut-and-paste operations relieve the user of the hassle of dealing with removing spaces from the area where words are being cut, and inserting spaces where words are being pasted. Unfortunately this setting isn't sufficient.
There are a couple of problems:
- when the words are pasted the user must ensure that the insertion point is after any spaces, otherwise the trailing spaces that were included will be multiplied;
- if the words being cut do not have trailing spaces, but instead some other terminator (a period, comma, semi-colon, etc.) then the user will prefer that leading spaces be included in the selection.
What TextPad should do is implement Smart word editing. This means that for both drag & drop editing and cut & paste editing TextPad would automatically fix spaces in the source and destination regions:
- trailing spaces would be removed from the source region; if there are no trailing spaces then leading spaces would be removed;
- a space would be inserted at the destination region; if the newly inserted words did not have a space before them, the space would be a leading one; if leading spaces already existed then it'd be inserted as a trailing one.
Smart word editing would be a document class preference that would replace the current "Include trailing spaces when selecting words" preference.
(Microsoft Word does even smarter word editing than what's described above, but a text editor such as TextPad should at least implement the above.)
Drag and drop editing should be smarter
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
Include trailing spaces when selecting words
Please post a 5-option poll as suggested elsewhere in this forum -- I'd like to vote for this !!!
I'm not sure whether "Enhancement Suggestions" are to be for:
New Whizzy Features
or
Subtle Quality Improvements
I, for one, am not looking for any new features. I'm appreciated of all the details that have been built into TextPad that make it such a fine program.
The suggestion I'm making in this thread is definitely a subtle improvement that wouldn't make a feature list, much less qualify for a major version number upgrade. However, I'd happily try to get our site license renewed if only this (and my two other suggestions: undo restoring selection, and proper bracket matching) were implemented.
New Whizzy Features
or
Subtle Quality Improvements
I, for one, am not looking for any new features. I'm appreciated of all the details that have been built into TextPad that make it such a fine program.
The suggestion I'm making in this thread is definitely a subtle improvement that wouldn't make a feature list, much less qualify for a major version number upgrade. However, I'd happily try to get our site license renewed if only this (and my two other suggestions: undo restoring selection, and proper bracket matching) were implemented.
- Bob Hansen
- Posts: 1516
- Joined: Sun Mar 02, 2003 8:15 pm
- Location: Salem, NH
- Contact:
Just a reminder re Cut/Paste in Word:
A lot of Cut/Paste issues in Word happen because "Visible Characters" are turned off.
If you can see the spaces, tabs, and especially the paragraph symbol when cutting, your paste results will be better. Remember that the paragraph symbol actually contains a lot of the formatting information.
Many times you want to make sure you are not copying the paragraph symbol when cutting. But other times you will want to if you want to copy the formatting also, like when doing Outline sections.
Hope this helps.....................good luck.........
A lot of Cut/Paste issues in Word happen because "Visible Characters" are turned off.
If you can see the spaces, tabs, and especially the paragraph symbol when cutting, your paste results will be better. Remember that the paragraph symbol actually contains a lot of the formatting information.
Many times you want to make sure you are not copying the paragraph symbol when cutting. But other times you will want to if you want to copy the formatting also, like when doing Outline sections.
Hope this helps.....................good luck.........