JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
Trim trailing whitespaces in every selection case
authorIvan Delalande <colona@ycc.fr>
Sun, 16 Nov 2014 08:02:57 +0000 (09:02 +0100)
committerRoberto E. Vargas Caballero <k0ga@shike2.com>
Wed, 19 Nov 2014 17:53:17 +0000 (18:53 +0100)
commit09f5d98251469070b76f3911cc6a83d977871656
tree7c13d95c189837bf7d542c0b250a17216da2e00e
parent4418939dd9f3a7b3cfd3071234ed18ae86538f2a
Trim trailing whitespaces in every selection case

Trailing whitespaces are trimmed when copying from normal selection and
rectangular selection on lines that have their last character included
or on the left of the selection. It leads to inconsistent behaviors when
copying the exact same text from the left and right window in
applications with vertical splits.
This patch solves this issue by always trimming the selection.
st.c