Re: Endless loop in Text2.cpp

2019-02-07 Thread Jean-Marc Lasgouttes
Le 07/02/2019 à 21:59, Guenter Milde a écrit : I do have the commit, but is seems the last compilation was done before downloading it. I recompiled and now the problem is solved. Sorry for the noise. Fine. Thanks for checking. JMarc

Re: Endless loop in Text2.cpp

2019-02-07 Thread Guenter Milde
On 2019-02-07, Jean-Marc Lasgouttes wrote: > Le 07/02/2019 à 16:20, Guenter Milde a écrit : >>> This is master, right? >> Right: >> LyX Version 2.4.0dev >> (Tuesday, 5 February 2019) >> Built from git commit hash 084af15a >> Library directory: /usr/local/src/lyx/lib/ >> User directory: ~/.lyx2.4/

Re: Endless loop in Text2.cpp

2019-02-07 Thread Jean-Marc Lasgouttes
Le 07/02/2019 à 16:20, Guenter Milde a écrit : This is master, right? Right: LyX Version 2.4.0dev (Tuesday, 5 February 2019) Built from git commit hash 084af15a Library directory: /usr/local/src/lyx/lib/ User directory: ~/.lyx2.4/ Qt Version (run-time): 5.7.1 Qt Version (compile-time): 5.7.1

Re: Endless loop in Text2.cpp

2019-02-07 Thread Guenter Milde
On 2019-02-06, Jean-Marc Lasgouttes wrote: > Le 06/02/2019 à 17:21, Guenter Milde a écrit : >> I get a "frozen" LyX (maybe this endless loop) since some days when I try to >> delete an inset -- at least in some cases. >> Example: >>In the file >>autotests/export/latex/unicodesymbols/008-gr

Re: Endless loop in Text2.cpp

2019-02-07 Thread Kornel Benko
Am Mittwoch, 6. Februar 2019 17:25:52 CET schrieb Jean-Marc Lasgouttes : > Le 06/02/2019 à 17:21, Guenter Milde a écrit : > > I get a "frozen" LyX (maybe this endless loop) since some days when I try to > > delete an inset -- at least in some cases. > > > > Example: > >In the file > >auto

Re: Endless loop in Text2.cpp

2019-02-06 Thread Jean-Marc Lasgouttes
Le 06/02/2019 à 17:21, Guenter Milde a écrit : I get a "frozen" LyX (maybe this endless loop) since some days when I try to delete an inset -- at least in some cases. Example: In the file autotests/export/latex/unicodesymbols/008-greek-and-coptic.lyx the Branch-inset following "3F0" con

Re: Endless loop in Text2.cpp

2019-02-06 Thread Guenter Milde
On 2019-02-04, Jean-Marc Lasgouttes wrote: > Le 04/02/2019 à 17:10, Kornel Benko a écrit : >> Am Montag, 4. Februar 2019 17:06:35 CET schrieb Kornel Benko >> : >>> Endles loop in src/Text2.cpp:955-977 >> This patch works for me > Thanks, it is my mistake. Could you give me a recipe for the endle

Re: Endless loop in Text2.cpp

2019-02-05 Thread Jean-Marc Lasgouttes
Le 05/02/2019 à 12:49, Kornel Benko a écrit : Since I was only 'searching' in findadv, no changes to buffer were done. The code was triggered _only_ at accepting the re-search dialog at file end. Not true ..., debugging ... the code is triggered on 'search next' too. #5 0x00f513c2 i

Re: Endless loop in Text2.cpp

2019-02-05 Thread Kornel Benko
Am Dienstag, 5. Februar 2019 12:40:36 CET schrieb Kornel Benko : > Am Dienstag, 5. Februar 2019 12:22:19 CET schrieb Jean-Marc Lasgouttes > : > > Le 04/02/2019 à 17:38, Kornel Benko a écrit : > > > > > I am testing advanced search (here locally modified), but it should work > > > the same > > >

Re: Endless loop in Text2.cpp

2019-02-05 Thread Kornel Benko
Am Dienstag, 5. Februar 2019 12:22:19 CET schrieb Jean-Marc Lasgouttes : > Le 04/02/2019 à 17:38, Kornel Benko a écrit : > > > I am testing advanced search (here locally modified), but it should work > > the same > > as committed in master. > > > > 1.) open de/EmbeddedObjects.lyx > > 2.) advanc

Re: Endless loop in Text2.cpp

2019-02-05 Thread Jean-Marc Lasgouttes
Le 04/02/2019 à 17:38, Kornel Benko a écrit : I am testing advanced search (here locally modified), but it should work the same as committed in master. 1.) open de/EmbeddedObjects.lyx 2.) advanced search for English strings {\regexp{.+\endregexp{}}, allow format search 3.) At the dialog on en

Re: Endless loop in Text2.cpp

2019-02-04 Thread Kornel Benko
Am Montag, 4. Februar 2019 17:25:31 CET schrieb Jean-Marc Lasgouttes : > Le 04/02/2019 à 17:10, Kornel Benko a écrit : > > Am Montag, 4. Februar 2019 17:06:35 CET schrieb Kornel Benko > > : > >> Endles loop in src/Text2.cpp:955-977 > > > > This patch works for me > > Thanks, it is my mistake. C

Re: Endless loop in Text2.cpp

2019-02-04 Thread Jean-Marc Lasgouttes
Le 04/02/2019 à 17:10, Kornel Benko a écrit : Am Montag, 4. Februar 2019 17:06:35 CET schrieb Kornel Benko : Endles loop in src/Text2.cpp:955-977 This patch works for me Thanks, it is my mistake. Could you give me a recipe for the endless loop, please ? I will probably put a slightly diffe

Re: Endless loop in Text2.cpp

2019-02-04 Thread Kornel Benko
Am Montag, 4. Februar 2019 17:06:35 CET schrieb Kornel Benko : > Endles loop in src/Text2.cpp:955-977 > > Debugging I get > 954:from = 0 > 955:par.size() = 28 > while (from < par.size()) { > ... > from = 4 > par.isDeleted(from) = true > par.isLineSeparator(from) = t

Endless loop in Text2.cpp

2019-02-04 Thread Kornel Benko
Endles loop in src/Text2.cpp:955-977 Debugging I get 954:from = 0 955:par.size() = 28 while (from < par.size()) { ... from = 4 par.isDeleted(from) = true par.isLineSeparator(from) = true to = 4 inside "while (to < par.size()" par.isLineSeparator(to)