From d5b174f591409ca8f83203c31bbb2dcc5b5eed85 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 27 Dec 2005 01:50:00 +0000 Subject: [PATCH] *** empty log message *** --- Changes | 4 ++-- doc/rxvt.1.pod | 6 ++++-- src/screen.C | 6 +++++- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/Changes b/Changes index 64a9a422..452c09d2 100644 --- a/Changes +++ b/Changes @@ -20,8 +20,8 @@ WISH: just for fun, do shade and tint with XRender. to extremely long lines and (hopefully) some segfaults. - iso14755 overlay position was wrong. - iso14755 overlay now displays rendition info, too. - - use unicode white space instead of hardcoded values for stripping - whitespace. + - use unicode white space class instead of hardcoded values for + stripping whitespace. - do whitespace stripping on rectangular selections. 6.0 Sat Dec 24 13:58:56 CET 2005 diff --git a/doc/rxvt.1.pod b/doc/rxvt.1.pod index cac1156f..ba8df696 100644 --- a/doc/rxvt.1.pod +++ b/doc/rxvt.1.pod @@ -1081,8 +1081,10 @@ to select a word; Left triple-click to select the entire logical line B. Starting a selection while pressing the B key (or B keys) -(Compile: I) will create a rectangular selection instead of a normal -one. +(Compile: I) will create a rectangular selection instead of a +normal one. In this mode, every selected row becomes its own line in the +selection, and trailing whitespace is visually underlined and removed from +the selection. =item B: diff --git a/src/screen.C b/src/screen.C index e49686bc..e876b2fe 100644 --- a/src/screen.C +++ b/src/screen.C @@ -2896,7 +2896,11 @@ rxvt_term::selection_make (Time tm) col = max (col, 0); - if (row == selection.end.row || selection.rect) + if (row == selection.end.row +#if ENABLE_FRILLS + || selection.rect +#endif + ) min_it (end_col, selection.end.col); t = ROW(row).t + col; -- 2.34.1