Re: [code] [textadept] Regex search result is not always selected

From: Mitchell <m.att.foicica.com>
Date: Sun, 4 Jun 2017 17:19:14 -0400 (EDT)

Hi,

On Sun, 28 May 2017, Daniel wrote:

> Hi,
>
> according to the API docs buffer.search_next() and buffer.search_prev()
> should result in the matching text being selected. On my Textadept 9.4
> installation this works correctly in the following scenarios:
>
> * Find next without regex
> * Find prev without regex
> * Find next with regex
>
> When using "Find prev with regex" the matching text is found correctly,
> however it is not selected if the regex contains a repeat-operator.
>
> To reproduce perform a regex search for "^.*:$" on the following document:
>
> --------
> foo:
> bar:
> baz:
> --------
>
> Repeatedly executing "Find next" iterates through all 3 lines with each being
> selected correctly. "Find prev" iterates through all 3 lines as well but only
> selects the colon.

This should be fixed[1] in tonight's nightly build.

Cheers,
Mitchell

[1]: http://foicica.com/hg/textadept/rev/55a9f2225b77

-- 
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 Sun 04 Jun 2017 - 17:19:14 EDT

This archive was generated by hypermail 2.2.0 : Mon 05 Jun 2017 - 06:51:52 EDT