Re: Expand debug to contain more than 31 cases

2022-04-18 Thread Scott Kostyshak
On Mon, Apr 18, 2022 at 12:21:40PM +0200, Kornel Benko wrote: > The output while debugging findadv is overwhelming, but sometimes > one needs only a small subset. Therefore the addition of -dbg findshort. > > Also it would be possible to use constructions like > LYXERR(Debug::FIND|Debug::FIN

Re: Is the attached output from using -fanalyzer useful?

2022-04-18 Thread Scott Kostyshak
On Mon, Apr 18, 2022 at 07:47:56PM +0200, Jean-Marc Lasgouttes wrote: > Le 16/04/2022 à 05:40, Scott Kostyshak a écrit : > > Using the flag -fanalyzer finds many *potential* issues about null pointers. > > > > Here is the partial output from compiling with the flag: > > > >https://www.dropbox

Re: Is the attached output from using -fanalyzer useful?

2022-04-18 Thread Jean-Marc Lasgouttes
Le 16/04/2022 à 05:40, Scott Kostyshak a écrit : Using the flag -fanalyzer finds many *potential* issues about null pointers. Here is the partial output from compiling with the flag: https://www.dropbox.com/s/nm4mwbm1i2p3pli/make?dl=0 You can search for "warning:" to see the relevant warnin

Re: Lexer and optional arguments

2022-04-18 Thread Jean-Marc Lasgouttes
Le 18/03/2022 à 18:45, Daniel a écrit : Is it possible to have optional arguments read with Lexer? I imagine something like: Command [] So Parameter1 is necessary but Parameter2 is optional. The Lexer would only look on the same line for an optional parameter. Going back to old mails... W

Re: Very rare screen tearing (?)

2022-04-18 Thread Jean-Marc Lasgouttes
Le 03/04/2022 à 17:16, Scott Kostyshak a écrit : I work with master for my lecture notes and papers many hours every day, and very occasionally (maybe once a month) I see what I think is referred to as "screen tearing". It usually happens when scrolling. After it occurs, I cannot take a screensh

Re: Opening activated branch insets

2022-04-18 Thread Jean-Marc Lasgouttes
Le 17/04/2022 à 00:22, Pavel Sanda a écrit : Also, one should decide whether master or child status matters. Right, I prefer child, as once this lfun is bound, it will be triggered on the edited inset - i.e. typically child. OTOH, using producesOutput() as test looks fine to me logically and

Expand debug to contain more than 31 cases

2022-04-18 Thread Kornel Benko
The output while debugging findadv is overwhelming, but sometimes one needs only a small subset. Therefore the addition of -dbg findshort. Also it would be possible to use constructions like LYXERR(Debug::FIND|Debug::FINDSHORT, "Setting regexp to : '" << regexp_str << "'") (mark the '|' i