Re: Applying LFUN_MATH_MODE to big help docs causes memory problems

2018-04-04 Thread Scott Kostyshak
On Wed, Apr 04, 2018 at 10:33:47AM +, Jean-Marc Lasgouttes wrote: > Le 04/04/2018 à 04:17, Scott Kostyshak a écrit : > > On Fri, Feb 23, 2018 at 09:42:07AM +, Jean-Marc Lasgouttes wrote: > > > > > What refusing to do something if the selection is longer than, say, 50 > > > paragraphs? We c

Re: Applying LFUN_MATH_MODE to big help docs causes memory problems

2018-04-04 Thread Jean-Marc Lasgouttes
Le 04/04/2018 à 04:17, Scott Kostyshak a écrit : On Fri, Feb 23, 2018 at 09:42:07AM +, Jean-Marc Lasgouttes wrote: What refusing to do something if the selection is longer than, say, 50 paragraphs? We could count characters too, of course, but do we want to transform a full document to a do

Re: Applying LFUN_MATH_MODE to big help docs causes memory problems

2018-04-03 Thread Scott Kostyshak
On Fri, Feb 23, 2018 at 09:42:07AM +, Jean-Marc Lasgouttes wrote: > What refusing to do something if the selection is longer than, say, 50 > paragraphs? We could count characters too, of course, but do we want to > transform a full document to a docstring just to be able to decide that it > is

Re: Applying LFUN_MATH_MODE to big help docs causes memory problems

2018-02-24 Thread Jean-Marc Lasgouttes
Le 23 février 2018 19:32:06 GMT+01:00, Guenter Milde a écrit : >> Is the problem the length or is the problem that the selection >contains >> insets of a type that have no natural conversion to math? > >Checking for insets that cannot be converted to math should also solve >most >real-life cases

Re: Applying LFUN_MATH_MODE to big help docs causes memory problems

2018-02-23 Thread Guenter Milde
On 2018-02-23, Scott Kostyshak wrote: > [-- Type: text/plain, Encoding: quoted-printable --] > On Fri, Feb 23, 2018 at 09:42:07AM +, Jean-Marc Lasgouttes wrote: >> Le 12/01/2018 à 23:28, Scott Kostyshak a écrit : >> > I'm not sure what the desired behavior is. Perhaps if the selection >> > c

Re: Applying LFUN_MATH_MODE to big help docs causes memory problems

2018-02-23 Thread Scott Kostyshak
On Fri, Feb 23, 2018 at 09:42:07AM +, Jean-Marc Lasgouttes wrote: > Le 12/01/2018 à 23:28, Scott Kostyshak a écrit : > > I'm not sure what the desired behavior is. Perhaps if the selection > > contains insets of a certain type (e.g. a float), the LFUN should just > > abort with a relevant mess

Re: Applying LFUN_MATH_MODE to big help docs causes memory problems

2018-02-23 Thread Jean-Marc Lasgouttes
Le 12/01/2018 à 23:28, Scott Kostyshak a écrit : I don't imagine any user actually does this, but if I select all and do ctrl+m, LyX often has problems (e.g. my RAM goes from 1GB to my max of 8GB). I've found this with Embedded Objects and with User Guide. Yes, I can imagine that the result is

Applying LFUN_MATH_MODE to big help docs causes memory problems

2018-01-12 Thread Scott Kostyshak
I don't imagine any user actually does this, but if I select all and do ctrl+m, LyX often has problems (e.g. my RAM goes from 1GB to my max of 8GB). I've found this with Embedded Objects and with User Guide. If I do the above with LyX 2.1.0, there are no memory problems. Instead, LyX just replaces