nano-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nano-devel] adding a word-completion feature to nano


From: Sumedh Pendurkar
Subject: Re: [Nano-devel] adding a word-completion feature to nano
Date: Thu, 27 Oct 2016 23:17:04 +0530
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0

Hi,


On Thursday 27 October 2016 12:57 PM, Benno Schulenberg wrote:
Running, with your patch applied, 'src/nano +7 NEWS' and
typing "port" followed by several times ^], shows the word
"portable" twice.  Two more ^]s cause a segfault.

In my attached version of the patch I've fixed the segfault
(freeing the word list in the correct order), but I haven't
looked into why some words sometimes appear twice.
Fixed it. Problem occurred when a word is repeated and we continue the loop. word_current was not reset to start of the list.

Please find the attachments( I did not get the git part exactly. I have attached both patch files after the commits.).

Thanks & Regards,
Sumedh Pendurkar

Attachment: 0001-new-feature-complete-a-fragment-to-a-longer-word-fou.patch
Description: Text Data

Attachment: 0002-fixed-duplicated-words.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]