sandy

text editor
git clone git://git.suckless.org/sandy
Log | Files | Refs | README | LICENSE

commit 1d7b74b553222391f7ac55b83a1176fad7bf8fa7
parent fae5df655a6a961d6c03508dc588657a21e87b2f
Author: Rafael Garcia <rafael.garcia.gallego@gmail.com>
Date:   Sun, 14 Aug 2011 12:49:07 +0200

Set mark before f_extsel, just because it bugged me
Diffstat:
config.def.h | 2+-
sandy.c | 1+
2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/config.def.h b/config.def.h @@ -315,7 +315,7 @@ f_move2(const Arg *arg) { fsel=fcur=arg->m(fcur); } -void /* Pipe selection from bol, then select last lain only */ +void /* Pipe selection from bol, then select last line only */ f_pipe2(const Arg *arg) { i_sortpos(&fsel, &fcur); fsel.o=0; diff --git a/sandy.c b/sandy.c @@ -297,6 +297,7 @@ f_delete(const Arg *arg) { void /* Extend the selection as per arg->i (see enums above) */ f_extsel(const Arg *arg) { + fmrk=fcur; i_sortpos(&fsel, &fcur); switch(arg->i) { case ExtWord: