Re: [PATCH v2] git-gui: Handle Ctrl + BS/Del in the commit msg
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Feb 21, 2019, 20:47 UTC
- Message-ID
- <xmqqa7iouavw.fsf@gitster-ct.c.googlers.com>
- In-Reply-To
- <20190221093059.GA6594@kiki>
Ismael Luceno <ismael@iodev.co.uk> writes:
Show 8 quoted lines
>> .... I am not sure if going >> back by one character from where the current insertion cursor is and >> further go back to the wordstart would give the beginning of the >> word to the left of the cursor, though. > > ... > Current implementation doesn't behave correctly when there's multiple > spaces:
In short, I wondered if it is correct, and you say it is not correct.
I would be surprised if git-gui were the only program that implemented an editor-like feature using tcl/tk, and none of the other editor implementations using tcl/tk had such an industry standard "delete previous word". Perhaps you can see if there is already a correct implementation of the feature this patch can borrow from?
Show 6 quoted lines
>> A larger issue is that we haven't heard from Pat, who has been >> helping git-gui.sh maintenance, for quite a while, so we'd need to >> find a volunteer to act as a replacement maintainer. If you are >> willing to, that would be great ;-) > > Sure.