Re: [code] Sometimes replacing in textadept is too slow

From: Mitchell <m.att.foicica.com>
Date: Fri, 22 Nov 2019 09:33:46 -0500 (EST)

Hi Alexander,

On Fri, 22 Nov 2019, Alexander Misel wrote:

> Hi Mitchell,
>
> I just found a small bug that you may introduced to replace_all by accident. That is you missed the last character in selection when replacing in selection. You can reproduce this by replacing 3 to 0 in 123456 when 123 is selected. The result would be '0 replacements made'.
>
> Just change < in line 365 to <= could fix the problem. [ buffer.target_end <= buffer:indicator_end(INDIC_REPLACE, s) ]

Thank you very much. This has been fixed.

Cheers,
Mitchell

-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Fri 22 Nov 2019 - 09:33:46 EST

This archive was generated by hypermail 2.2.0 : Sat 23 Nov 2019 - 06:46:20 EST