Re: [code] [textadept] Convert to lower/upper case

From: Mitchell <m.att.foicica.com>
Date: Fri, 12 Jul 2019 09:19:14 -0400 (EDT)

Hi Lukas,

On Fri, 12 Jul 2019, Procházka Lukáš Ing. wrote:

> Hello,
>
> does Lua or TA or Scientilla support conversion to lower/upper case?
> Especially due to country-special characters, like "ěščřĚŠČŘ" in Czech.
>
> ("abcěšč"):upper() gives (not so surprisingly) "ABCěšč", not the correct
> "ABCĚŠČ", so country-specific characters are not converted.
>
> Is there a way to convert character case a better built-in way?

Have you tried selecting text and then calling `buffer:lower_case()` or `buffer:upper_case()` on it?

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 12 Jul 2019 - 09:19:14 EDT

This archive was generated by hypermail 2.2.0 : Sat 13 Jul 2019 - 06:46:51 EDT