[code][textadept] select_enclosed()

From: Gabriel Dubatti <gdubatti.att.gmail.com>
Date: Mon, 8 Oct 2018 10:15:22 -0300

Hi Mitchell,

I got an error when calling  modules/textadept/editing.select_enclosed()
@438 when no match was found.

The error was in the following line:

left, right = string.char(char_at[s]), match

I moved that line after "if match then" (next line) and the error is gone.

Cheers,

Gabriel

-- 
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 Mon 08 Oct 2018 - 09:15:22 EDT

This archive was generated by hypermail 2.2.0 : Tue 09 Oct 2018 - 06:52:16 EDT