Re: unicodesymbols: have several commands for a single symbol?

2022-02-18 Thread Jürgen Spitzmüller
Am Samstag, dem 19.02.2022 um 02:43 +0100 schrieb Thibaut Cuvelier: > Does it look alright to you? If so, I will push these patches. So if an entry has "", this will be set empty, and if it has nothing, it will inherit the former, right? And until now, only "" was allowed, no missing table

Re: LyX 2.3 and 2.4 have troubles displaying EPS images

2022-02-18 Thread Thibaut Cuvelier
I've been back on this issue. I think that slightly changing the call to ImageMagick is the best solution, as it will not break things that used to work and has the potential of enabling preview of images that did not have. What do you think about this (minimalist) patch? On Sun, 13 Feb 2022 at

Re: unicodesymbols: have several commands for a single symbol?

2022-02-18 Thread Thibaut Cuvelier
Hi all, Here is an implementation of the mechanism discussed here. I split the largest part of the patch into two parts: adding the possibility to store several characters in CharInfo, then parsing the new lines (with just two new entries in unicodesymbols). These patches also change the names of

Adding a new assertion

2022-02-18 Thread Scott Kostyshak
In whatever part of LyX's code that marks a buffer as dirty, should we assert that the document is not read-only? If I open the User Guide from the Help menu, editing is disabled. But if I run: command-sequence inset-forall Caption char-delete-forward; statistics; undo The buffer is marked as

Assertion from command-sequence

2022-02-18 Thread Scott Kostyshak
To reproduce, open the User Guide (make sure it is editable, i.e., not read only). Then run the following command sequence: command-sequence inset-forall Caption char-delete-forward; statistics; undo I get the following assertion: CursorSlice.cpp (222): can't compare cursor and anchor in

Re: Advanced find does not search in deactivated branches

2022-02-18 Thread Jean-Marc Lasgouttes
Le 18/02/2022 à 10:31, Kornel Benko a écrit : Given the string 'ABCD' while 'B' is in deactivated branch. Now considering the case searching for the word 'ACD'. Should it be found? This is a case for change tracking IMO. JMarc -- lyx-devel mailing list lyx-devel@lists.lyx.org

Re: Advanced find does not search in deactivated branches

2022-02-18 Thread Jürgen Spitzmüller
Am Freitag, dem 18.02.2022 um 10:31 +0100 schrieb Kornel Benko: > Given the string 'ABCD' while 'B' is in deactivated branch. > Now considering the case searching for the word 'ACD'. > Should it be found? Don't know. But if a deactivated branch (or note) contains one or several paragraphs,

Re: Advanced find does not search in deactivated branches

2022-02-18 Thread Kornel Benko
Am Thu, 17 Feb 2022 16:44:18 -0500 schrieb Scott Kostyshak : > On Thu, Feb 17, 2022 at 03:02:00PM +0100, Kornel Benko wrote: > > Am Thu, 17 Feb 2022 07:55:10 -0500 > > schrieb Scott Kostyshak : > > > > > In the attached, if I do an advanced find with 2.4.04dev for $\coloneqq$, > > > it is not