Re: FindAdv: search for white space

2022-05-11 Thread Kornel Benko
Am Wed, 11 May 2022 17:21:52 +0200
schrieb Jürgen Spitzmüller :

> Am Mittwoch, dem 11.05.2022 um 14:18 +0200 schrieb Kornel Benko:
> > How to search for space like
> > hfill, medskip, thinspace, visible space, quad, ...
> > and many more with regex?  
> 
> I'd expect \s covers them (except for visible space).
> 

I too, if that were all unicode.

Kornel

-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


pgpJP86c_3ITV.pgp
Description: Digitale Signatur von OpenPGP
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: FindAdv: search for white space

2022-05-11 Thread Jürgen Spitzmüller
Am Mittwoch, dem 11.05.2022 um 14:18 +0200 schrieb Kornel Benko:
> How to search for space like
> hfill, medskip, thinspace, visible space, quad, ...
> and many more with regex?

I'd expect \s covers them (except for visible space).

-- 
Jürgen


signature.asc
Description: This is a digitally signed message part
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: FindAdv: search for white space

2022-05-11 Thread Kornel Benko
Am Wed, 11 May 2022 13:23:31 +0200
schrieb Jürgen Spitzmüller :

> Am Dienstag, dem 10.05.2022 um 16:50 +0200 schrieb Kornel Benko:
> > Does it make sense to add a checkbox to advanced find GUI like
> > 'Space-type'
> > which would treat all white spaces equal?
> > (Anything in src/insets/InsetSpace.cpp)  
> 
> Smells a bit like feature creep to me. Isn't this something that can be
> done more elegantly via regexp?
> 

Unfortunately no.
(Searching is OK if not using format-search)

How to search for space like
hfill, medskip, thinspace, visible space, quad, ...
and many more with regex?

Kornel
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


pgpXg9QMtDToh.pgp
Description: Digitale Signatur von OpenPGP
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: FindAdv: search for white space

2022-05-11 Thread Jürgen Spitzmüller
Am Dienstag, dem 10.05.2022 um 16:50 +0200 schrieb Kornel Benko:
> Does it make sense to add a checkbox to advanced find GUI like
> 'Space-type'
> which would treat all white spaces equal?
> (Anything in src/insets/InsetSpace.cpp)

Smells a bit like feature creep to me. Isn't this something that can be
done more elegantly via regexp?

-- 
Jürgen


signature.asc
Description: This is a digitally signed message part
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel