|
From: | Sumedh Pendurkar |
Subject: | Re: [Nano-devel] adding a word-completion feature to nano |
Date: | Sun, 30 Oct 2016 22:54:47 +0530 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 |
Hi, On Sunday 30 October 2016 06:00 PM, Benno Schulenberg wrote:
On Sun, Oct 30, 2016, at 12:46, Sumedh Pendurkar wrote:On Saturday 29 October 2016 02:00 PM, Benno Schulenberg wrote:You cannot check bytes for being word forming, you need to check characters, which means that now and then you have to skip a byte, or two, or three.For this issue I am planning to use move_mbleft and move_mbright functions that word return no of characters to skipped.Yes, that sounds right.
Now it should work fine.Changed name of pleted_length to pleted_mbchars as it no longer counts bytes it counts characters.
Made Minor changes in the searching and copying code blocks. Please find attachments. Thanks & Regards, Sumedh Pendurkar
0001-new-feature-complete-a-fragment-to-a-longer-word-fou.patch
Description: Text Data
0002-Added-more-comments.patch
Description: Text Data
0003-Maybe-a-bug.patch
Description: Text Data
0004-complete-now-works-with-utf8.patch
Description: Text Data
[Prev in Thread] | Current Thread | [Next in Thread] |