Re: Crash with using lyx-function word-findadv

2017-05-03 Thread Kornel Benko
Am Dienstag, 2. Mai 2017 um 17:56:21, schrieb Tommaso Cucinotta > On 02/05/2017 11:19, Kornel Benko wrote: > > Start lyx > > select new file > > type anything e.g. 'abcd' > > Goto home position > > in minibuffer type word-findadv a > > Any (or no at all) parameter to this

Re: Crash with using lyx-function word-findadv

2017-05-02 Thread Jean-Marc Lasgouttes
Le 02/05/2017 à 18:15, Tommaso Cucinotta a écrit : On 02/05/2017 18:00, Jean-Marc Lasgouttes wrote: Why not make the function internal, i.e. give it an empty name like LFUN_FINISHED_BACKWARD? u mean, just this [1] ? or, do we need "Hidden" ? I would say we should use both. JMarc

Re: Crash with using lyx-function word-findadv

2017-05-02 Thread Tommaso Cucinotta
On 02/05/2017 18:10, Kornel Benko wrote: It would still be nice to have the possibility to use minibuffer for scripted findadv tests. (The reason is that the minibuffer commands are language independent) would make sense as a feature enh request, needs a syntax rethinking. This is what we

Re: Crash with using lyx-function word-findadv

2017-05-02 Thread Tommaso Cucinotta
On 02/05/2017 18:00, Jean-Marc Lasgouttes wrote: Why not make the function internal, i.e. give it an empty name like LFUN_FINISHED_BACKWARD? u mean, just this [1] ? or, do we need "Hidden" ? T. [1] tommaso@tommylap:~/lyx-trunk-ws/lyx$ git diff diff --git a/src/LyXAction.cpp

Re: Crash with using lyx-function word-findadv

2017-05-02 Thread Kornel Benko
Am Dienstag, 2. Mai 2017 um 17:56:21, schrieb Tommaso Cucinotta > On 02/05/2017 11:19, Kornel Benko wrote: > > Start lyx > > select new file > > type anything e.g. 'abcd' > > Goto home position > > in minibuffer type word-findadv a > > Any (or no at all) parameter to this

Re: Crash with using lyx-function word-findadv

2017-05-02 Thread Jean-Marc Lasgouttes
Le 02/05/2017 à 17:56, Tommaso Cucinotta a écrit : Can we commit to master now ? Yes, I think so. For comparision, the function 'word-find' does not crash, but doesn't find anything either. these LFUNs use a special syntax to be provided, encoding the set of available search options as a

Re: Crash with using lyx-function word-findadv

2017-05-02 Thread Tommaso Cucinotta
On 02/05/2017 11:19, Kornel Benko wrote: Start lyx select new file type anything e.g. 'abcd' Goto home position in minibuffer type word-findadv a Any (or no at all) parameter to this function leads to crash. This is independent of active search dialog. (would be great to have an autotest for

Re: Crash with using lyx-function word-findadv

2017-05-02 Thread Tommaso Cucinotta
On 02/05/2017 11:19, Kornel Benko wrote: Start lyx select new file type anything e.g. 'abcd' Goto home position in minibuffer type word-findadv a Any (or no at all) parameter to this function leads to crash. confirmed... T.

Crash with using lyx-function word-findadv

2017-05-02 Thread Kornel Benko
Start lyx select new file type anything e.g. 'abcd' Goto home position in minibuffer type word-findadv a Any (or no at all) parameter to this function leads to crash. This is independent of active search dialog. For comparision, the function 'word-find' does not crash, but doesn't find anything