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

From: Alexander Misel <alexander_misel.att.live.cn>
Date: Fri, 22 Nov 2019 11:21:36 +0000

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) ]

-- 
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 - 06:21:36 EST

This archive was generated by hypermail 2.2.0 : Fri 22 Nov 2019 - 06:39:16 EST