Re: Text::autoBreakRow_ , is it dead code???

2015-03-31 Thread Georg Baum
Jean-Marc Lasgouttes wrote: One is supposed to use inset-toggle to put a math inset (e.g. a fraction in a formula) in a closed state, where the cursor cannot eenter in the inset. This state is saved in the .lyx file. Thanks for the explanation. Actually, I am not sure anymore that it is a

Re: Text::autoBreakRow_ , is it dead code???

2015-03-31 Thread Georg Baum
Jean-Marc Lasgouttes wrote: > One is supposed to use inset-toggle to put a math inset (e.g. a fraction > in a formula) in a closed state, where the cursor cannot eenter in the > inset. This state is saved in the .lyx file. Thanks for the explanation. > Actually, I am not sure anymore that it is

Re: Text::autoBreakRow_ , is it dead code???

2015-03-29 Thread Georg Baum
Jean-Marc Lasgouttes wrote: Hi all, Does anyone has an idea on the usefulness of Text::autoBreakRow_? It seems to be read in only one place (insertStringAsLines) and I am not even sure of why it could make sense there. Is it a remnant of something that used to make sense? Unfortunately

Re: Text::autoBreakRow_ , is it dead code???

2015-03-29 Thread Jean-Marc Lasgouttes
Le 29/03/15 13:04, Georg Baum a écrit : PS: I have another of these remnants in the mathed code: inset locking. I think it used to work, but it looks pretty dead now. I stumbled about that as well. Do you know what this was supposed to do? One is supposed to use inset-toggle to put a math

Re: Text::autoBreakRow_ , is it dead code???

2015-03-29 Thread Georg Baum
Jean-Marc Lasgouttes wrote: > Hi all, > > Does anyone has an idea on the usefulness of Text::autoBreakRow_? It > seems to be read in only one place (insertStringAsLines) and I am not > even sure of why it could make sense there. > > Is it a remnant of something that used to make sense?

Re: Text::autoBreakRow_ , is it dead code???

2015-03-29 Thread Jean-Marc Lasgouttes
Le 29/03/15 13:04, Georg Baum a écrit : PS: I have another of these remnants in the mathed code: inset locking. I think it used to work, but it looks pretty dead now. I stumbled about that as well. Do you know what this was supposed to do? One is supposed to use inset-toggle to put a math

Text::autoBreakRow_ , is it dead code???

2015-03-27 Thread Jean-Marc Lasgouttes
Hi all, Does anyone has an idea on the usefulness of Text::autoBreakRow_? It seems to be read in only one place (insertStringAsLines) and I am not even sure of why it could make sense there. Is it a remnant of something that used to make sense? JMarc PS: I have another of these remants in

Text::autoBreakRow_ , is it dead code???

2015-03-27 Thread Jean-Marc Lasgouttes
Hi all, Does anyone has an idea on the usefulness of Text::autoBreakRow_? It seems to be read in only one place (insertStringAsLines) and I am not even sure of why it could make sense there. Is it a remnant of something that used to make sense? JMarc PS: I have another of these remants in

Re: Dead Code?

2007-09-24 Thread Jean-Marc Lasgouttes
Looks like it's done in lyx_1_2.py, by change_listof. So I'll schedule it for removal, if that's OK by you, JMarc. Sure. JMarc

Re: Dead Code?

2007-09-24 Thread Jean-Marc Lasgouttes
Looks like it's done in lyx_1_2.py, by change_listof. So I'll schedule it for removal, if that's OK by you, JMarc. Sure. JMarc

Re: Dead Code?

2007-09-22 Thread Georg Baum
Richard Heck wrote: So far as I can see, the above can never be reached, because float lists don't appear in the form: \begin_inset LatexCommand but rather as: \begin_inset FloatList figure Is it there for some actual reason? AFAIK Compatibility. Should it be removed, or should

Re: Dead Code?

2007-09-22 Thread Jean-Marc Lasgouttes
Georg Baum [EMAIL PROTECTED] writes: Richard Heck wrote: So far as I can see, the above can never be reached, because float lists don't appear in the form: \begin_inset LatexCommand but rather as: \begin_inset FloatList figure Is it there for some actual reason? AFAIK

Re: Dead Code?

2007-09-22 Thread Richard Heck
Jean-Marc Lasgouttes wrote: Georg Baum [EMAIL PROTECTED] writes: Richard Heck wrote: So far as I can see, the above can never be reached, because float lists don't appear in the form: \begin_inset LatexCommand but rather as: \begin_inset FloatList figure Is it there for some

Re: Dead Code?

2007-09-22 Thread Georg Baum
Richard Heck wrote: > So far as I can see, the above can never be reached, because float lists > don't appear in the form: > \begin_inset LatexCommand > but rather as: > \begin_inset FloatList figure > Is it there for some actual reason? AFAIK Compatibility. > Should it be removed, or

Re: Dead Code?

2007-09-22 Thread Jean-Marc Lasgouttes
Georg Baum <[EMAIL PROTECTED]> writes: > Richard Heck wrote: > >> So far as I can see, the above can never be reached, because float lists >> don't appear in the form: >> \begin_inset LatexCommand >> but rather as: >> \begin_inset FloatList figure >> Is it there for some actual reason? >

Re: Dead Code?

2007-09-22 Thread Richard Heck
Jean-Marc Lasgouttes wrote: Georg Baum <[EMAIL PROTECTED]> writes: Richard Heck wrote: So far as I can see, the above can never be reached, because float lists don't appear in the form: \begin_inset LatexCommand but rather as: \begin_inset FloatList figure Is it there for

Dead Code?

2007-09-21 Thread Richard Heck
Inset * readInset(Lexer lex, Buffer const buf) { ... // test the different insets if (tmptok == LatexCommand) { lex.next(); string const cmdName = lex.getString(); lex.pushToken(cmdName); ... } else if (cmdName == listofalgorithms) { inset.reset(new

Dead Code?

2007-09-21 Thread Richard Heck
Inset * readInset(Lexer & lex, Buffer const & buf) { ... // test the different insets if (tmptok == "LatexCommand") { lex.next(); string const cmdName = lex.getString(); lex.pushToken(cmdName); ... } else if (cmdName == "listofalgorithms") {

Re: Dead code

2003-08-18 Thread Angus Leeming
Michael Schmitt wrote: Hello, I have prepared a new list of dead code, just in case anybody is interested in it... Ah... btw, I used the QT frontend. which explains both the ControlForks and ControlPreamble code. I fear that it is no longer straightforward to selectively compile

Re: Dead code

2003-08-18 Thread Angus Leeming
Michael Schmitt wrote: > Hello, > > I have prepared a new list of dead code, just in case anybody is > interested in it... > > Ah... btw, I used the QT frontend. which explains both the ControlForks and ControlPreamble code. I fear that it is no longer straightforward to s

Dead code

2003-08-15 Thread Michael Schmitt
Hello, I have prepared a new list of dead code, just in case anybody is interested in it... Ah... btw, I used the QT frontend. Michael (anonymous namespace)::Correction* std::__copy_backward(anonymous namespace)::Correction*, (anonymous namespace)::Correction*((anonymous namespace

Dead code

2003-08-15 Thread Michael Schmitt
Hello, I have prepared a new list of dead code, just in case anybody is interested in it... Ah... btw, I used the QT frontend. Michael > (anonymous namespace)::Correction* std::__copy_backward<(anonymous > namespace)::Correction*, (anonymous namespace)::Correction*>((anonymous

Dead code

2001-02-19 Thread John Levon
Can Sectioning.[Ch] be deleted ? Not used as far as I can see. Also can I rip out the keymap dialog ? It's not currently used and I don't fancy porting it to GUII. john -- "Allocation is a fatal error." - me, cpd_util.c. Never document at 4AM

Re: Dead code

2001-02-19 Thread Lars Gullik Bjønnes
John Levon [EMAIL PROTECTED] writes: | Can Sectioning.[Ch] be deleted ? Not used as far as I can see. No, but it will be. Sectioning will be the companion of InsetSectioning. | Also can I rip out the keymap dialog ? It's not currently used | and I don't fancy porting it to GUII. Do we have an

Re: Dead code

2001-02-19 Thread John Levon
On 19 Feb 2001, Lars Gullik Bjønnes wrote: John Levon [EMAIL PROTECTED] writes: | Can Sectioning.[Ch] be deleted ? Not used as far as I can see. No, but it will be. Sectioning will be the companion of InsetSectioning. ok | Also can I rip out the keymap dialog ? It's not currently

Dead code

2001-02-19 Thread John Levon
Can Sectioning.[Ch] be deleted ? Not used as far as I can see. Also can I rip out the keymap dialog ? It's not currently used and I don't fancy porting it to GUII. john -- "Allocation is a fatal error." - me, cpd_util.c. Never document at 4AM

Re: Dead code

2001-02-19 Thread Lars Gullik Bjønnes
John Levon <[EMAIL PROTECTED]> writes: | Can Sectioning.[Ch] be deleted ? Not used as far as I can see. No, but it will be. Sectioning will be the companion of InsetSectioning. | Also can I rip out the keymap dialog ? It's not currently used | and I don't fancy porting it to GUII. Do we have

Re: Dead code

2001-02-19 Thread John Levon
On 19 Feb 2001, Lars Gullik Bjønnes wrote: > John Levon <[EMAIL PROTECTED]> writes: > > | Can Sectioning.[Ch] be deleted ? Not used as far as I can see. > > No, but it will be. Sectioning will be the companion of > InsetSectioning. > ok > | Also can I rip out the keymap dialog ? It's not