... and not the punctuation after it too.
Hello,
I personally prefer that "word-delete-forward" forward does not
delete the whatever punctuation is after a word. Here is a patch that
does that, and apparently breaks nothing. I didn't check for sure,
but I've used for some time.
Patch obtained by diff -u against text.C in 1.0pre4 source tree.
Cheers,
Etienne
======================================================================
--- text.C Thu Dec 17 15:19:10 1998
+++ text.C.orig Thu Dec 17 14:40:33 1998
@@ -2815,14 +2815,6 @@
SetCursorIntern(cursor.par, cursor.pos);
selection = True; // to avoid deletion
CursorRightOneWord();
-
- /* -------> Skip final non-word stuff. */
- cursor.pos--;
- while ( (cursor.par->IsSeparator(cursor.pos)
- || cursor.par->IsKomma(cursor.pos)) )
- cursor.pos--;
- cursor.pos++;
-
sel_cursor = cursor;
cursor = tmpcursor;
SetSelection();
======================================================================