[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nano-devel] adding a word-completion feature to nano
From: |
Benno Schulenberg |
Subject: |
Re: [Nano-devel] adding a word-completion feature to nano |
Date: |
Mon, 24 Oct 2016 09:28:30 +0200 |
Hello Sumedh,
On Mon, Oct 24, 2016, at 07:18, Sumedh Pendurkar wrote:
> On Thursday 20 October 2016 12:21 AM, Benno Schulenberg wrote:
> > [...] the undo system should not retain any
> > memory of all the tried possibilities.
>
> I am thinking to add a 'action_type' in the enum for complete. And make
> changes in do_backspace() and do_output(or these changes can also be
> made in add_undo and update undo) and then we wont just add in the undo
> stack to prevent this from happening. Is this approach okay?
Hm. That requires changes in several places. It is much easier
to just pop one or two items off of the undo stack. It is quick,
short, and it happens all in complete_a_word(). So your proposed
approach does not seem like a good idea.
Benno
--
http://www.fastmail.com - IMAP accessible web-mail
- Re: [Nano-devel] adding a word-completion feature to nano, (continued)
- Re: [Nano-devel] adding a word-completion feature to nano, Benno Schulenberg, 2016/10/15
- Re: [Nano-devel] adding a word-completion feature to nano, Sumedh Pendurkar, 2016/10/17
- Re: [Nano-devel] adding a word-completion feature to nano, Benno Schulenberg, 2016/10/17
- Re: [Nano-devel] adding a word-completion feature to nano, Sumedh Pendurkar, 2016/10/17
- Re: [Nano-devel] adding a word-completion feature to nano, Benno Schulenberg, 2016/10/18
- Re: [Nano-devel] adding a word-completion feature to nano, Sumedh Pendurkar, 2016/10/18
- Re: [Nano-devel] adding a word-completion feature to nano, Benno Schulenberg, 2016/10/19
- Re: [Nano-devel] adding a word-completion feature to nano, Sumedh Pendurkar, 2016/10/19
- Re: [Nano-devel] adding a word-completion feature to nano, Benno Schulenberg, 2016/10/19
- Re: [Nano-devel] adding a word-completion feature to nano, Sumedh Pendurkar, 2016/10/24
- Re: [Nano-devel] adding a word-completion feature to nano,
Benno Schulenberg <=
- Re: [Nano-devel] adding a word-completion feature to nano, Sumedh Pendurkar, 2016/10/25
- Re: [Nano-devel] adding a word-completion feature to nano, Benno Schulenberg, 2016/10/26
- Re: [Nano-devel] adding a word-completion feature to nano, Sumedh Pendurkar, 2016/10/26
- Re: [Nano-devel] adding a word-completion feature to nano, Benno Schulenberg, 2016/10/27
- Re: [Nano-devel] adding a word-completion feature to nano, Sumedh Pendurkar, 2016/10/27
- Re: [Nano-devel] adding a word-completion feature to nano, Benno Schulenberg, 2016/10/28
- Re: [Nano-devel] adding a word-completion feature to nano, Sumedh Pendurkar, 2016/10/28
- Re: [Nano-devel] adding a word-completion feature to nano, Benno Schulenberg, 2016/10/28
- Re: [Nano-devel] adding a word-completion feature to nano, Sumedh Pendurkar, 2016/10/28
- Re: [Nano-devel] adding a word-completion feature to nano, Benno Schulenberg, 2016/10/29