Re: Scrollfix patch

2007-11-06 Thread Stefan Schimanski
Great! Will try it out later today. Stefan Am 07.11.2007 um 00:04 schrieb Tommaso Cucinotta: Hi Abdel, please find attached a first attempt of fixing the non-uniform scrolling of LyX on trunk (21411).

Removing an equation label

2007-11-06 Thread Darren Freeman
Hi all, is there a more elegant way to remove an equation label than toggling the line numbering twice? I ask this because copy-paste of a labelled equation results in two with the same label. I wanted the second one to be anonymous but numbered. Have fun, Darren

[Bug 4334] Crash when adding label to math.

2007-11-06 Thread Darren Freeman
Hi all, another mathed-related crash in branch. http://bugzilla.lyx.org/show_bug.cgi?id=4334 Somebody please confirm and add the keyword "crash". Have fun, Darren

Toggle numbering on formula

2007-11-06 Thread Darren Freeman
Hi all, okay I finally worked out how to get formula numbering to work.. you have to toggle display mode first. Why doesn't this happen automatically? Or if there is a good reason, why do nothing when the user selects toggle numbering? The menu item should at least be inactive. Have fun, Darren

Re: Preprocessor style.

2007-11-06 Thread Richard Heck
Bo Peng wrote: Hi, Andre, What are our rules for preprocessor indentation? Please choose from A, B, or C from the attache file. I personally prefer B. I hereby declare that I have no preference. I vote with Andre. ;-) rh Cheers, Bo ---

Preprocessor style.

2007-11-06 Thread Bo Peng
Hi, Andre, What are our rules for preprocessor indentation? Please choose from A, B, or C from the attache file. I personally prefer B. Cheers, Bo Style A: Indent nested ifdef #ifdef ENABLE_NLS # ifdef HAVE_LOCALE_H #include # endif # if HAVE_GETTEXT #include // use the header alr

Re: [Bug 4323] Crash on adding/removing row/column of a matrix in mathed.

2007-11-06 Thread Darren Freeman
"BTW I reopened the bug as part of it is not fixed in branch - adding a column still crashes and I presume the other similar cases do to." Would you believe I forgot to "make install" ? It's fixed :D However there is a remaining issue that the cursor moves in a weird manner when adding columns (

Re: [Bug 4323] Crash on adding/removing row/column of a matrix in mathed.

2007-11-06 Thread Darren Freeman
On Mon, 2007-11-05 at 09:54 +0200, Martin Vermeer wrote: > Unfortunately it is still impossible to insert an empty row/column at > position 0. We should perhaps think about that too. Why not have two menu items: * Add Column (before) * Add Column (after) The one people are used to would have a c

Re: Scrollfix patch

2007-11-06 Thread Richard Heck
Tommaso Cucinotta wrote: Index: src/ParagraphMetrics.h === --- src/ParagraphMetrics.h (revisione 21411) +++ src/ParagraphMetrics.h (copia locale) @@ -113,6 +113,7 @@ InsetDims inset_dims_; }; + } // namespace l

Scrollfix patch

2007-11-06 Thread Tommaso Cucinotta
Hi Abdel, please find attached a first attempt of fixing the non-uniform scrolling of LyX on trunk (21411). Summary of benefits: -) scroll is uniform and predictable when using the scrollbar, independently of the contents (text, maths, very tall maths or pictures or tables, ecc...) -) scroll

Re: [Bug 4323] Crash on adding/removing row/column of a matrix in mathed.

2007-11-06 Thread Darren Freeman
On Mon, 2007-11-05 at 12:02 +0200, Martin Vermeer wrote: > It's in, for both trunk and branch. No status.15x entry, as it is > functionality-neutral together with my earlier patch. Bravo, team! I posted the two related bugs at 4:51pm and the fix was committed that afternoon! (Your message is 9:02

Re: [patch] bug 4330: lyx crashes for outline-commands within math-environment

2007-11-06 Thread Abdelrazak Younes
Andre Poenitz wrote: On Tue, Nov 06, 2007 at 03:13:35PM +0100, Abdelrazak Younes wrote: Jürgen Spitzmüller wrote: Jean-Marc Lasgouttes wrote: And what about moving this from BufferView (which is for all highly editable insets == text+math) to Text3.cpp (which is only for text)? Like this?

Re: [Cvslog] r21468 - /lyx-devel/trunk/src/mathed/InsetMathNest.cpp

2007-11-06 Thread Abdelrazak Younes
Martin Vermeer wrote: On Tue, Nov 06, 2007 at 06:16:06PM +0100, Jürgen Spitzmüller wrote: younes wrote: URL: http://www.lyx.org/trac/changeset/21468 Log: Avoid unnecessary redraw. Abdel, this breaks compilation here: Jürgen Same here. Sorry, happened before, should have known better. I'

Re: [Cvslog] r21468 - /lyx-devel/trunk/src/mathed/InsetMathNest.cpp

2007-11-06 Thread Martin Vermeer
On Tue, Nov 06, 2007 at 06:16:06PM +0100, Jürgen Spitzmüller wrote: > younes wrote: > > URL: http://www.lyx.org/trac/changeset/21468 > > Log: > > Avoid unnecessary redraw. > > Abdel, this breaks compilation here: > > mathed/InsetMathNest.cpp: In member function 'virtual void > lyx::InsetMathNest

Re: [patch] bug 4330: lyx crashes for outline-commands within math-environment

2007-11-06 Thread Andre Poenitz
On Tue, Nov 06, 2007 at 03:13:35PM +0100, Abdelrazak Younes wrote: > Jürgen Spitzmüller wrote: >> Jean-Marc Lasgouttes wrote: >>> And what about moving this from BufferView (which is for all >>> highly editable insets == text+math) to Text3.cpp (which is only for >>> text)? >> Like this? > > > +

Re: [patch] for LyX 1.5.3 register placeholders to the math toolbar

2007-11-06 Thread Andre Poenitz
On Tue, Nov 06, 2007 at 08:40:19AM +0100, Jürgen Spitzmüller wrote: > Uwe Stöhr wrote: > > > I like this phantom feature a lot myself, but I think it qualifies as > > > expert feature. I am not sure it belongs to the toolbar, but I do not > > > oppose it. > > > > The phantom feature is a math featu

Re: [Cvslog] r21407 - in /lyx-devel/trunk/src: Paragraph.cpp insets/In...

2007-11-06 Thread Andre Poenitz
On Tue, Nov 06, 2007 at 01:39:40AM +0200, Dov Feldstern wrote: > Martin Vermeer wrote: >> On Mon, Nov 05, 2007 at 11:13:34PM +0200, Dov Feldstern wrote: >>> >>> Martin Vermeer wrote: On Mon, 05 Nov 2007 15:49:22 +0100 Abdelrazak Younes <[EMAIL PROTECTED]> wrote: > Jean-Marc

Re: [Cvslog] r21468 - /lyx-devel/trunk/src/mathed/InsetMathNest.cpp

2007-11-06 Thread Jürgen Spitzmüller
younes wrote: > URL: http://www.lyx.org/trac/changeset/21468 > Log: > Avoid unnecessary redraw. Abdel, this breaks compilation here: mathed/InsetMathNest.cpp: In member function 'virtual void lyx::InsetMathNest::doDispatch(lyx::Cursor&, lyx::FuncRequest&)': mathed/InsetMathNest.cpp:548: error: n

Re: [Cvslog] r21407 - in /lyx-devel/trunk/src: Paragraph.cpp insets/In...

2007-11-06 Thread Enrico Forestieri
On Tue, Nov 06, 2007 at 01:09:01PM +0200, Martin Vermeer wrote: > On Tue, 06 Nov 2007 11:33:23 +0100 > Abdelrazak Younes <[EMAIL PROTECTED]> wrote: [...] > > Still, I maintain that detecting the text direction automatically based > > on the Unicode code point would simplify things. > > Yes, why n

lyx crashes when opening 1.4.3. file with index containing \" in lyx 1.5.3

2007-11-06 Thread sebastian guttenberg
see http://bugzilla.lyx.org/show_bug.cgi?id=4333 - Sebastian -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.

Re: Use of uncrustify to standardize lyx source file format.

2007-11-06 Thread Bo Peng
> That is OK. As long as it is used as a diagnose tool and not being mandatory > I am all for it. Done. It can be a good diagnostic tool at this stage. The recommended usage is uncrustify -c development/coding/uncrustify.cfg file diff file file.uncrustify Later on, if all the diffs produced by

Re: Where to report bugs?

2007-11-06 Thread sebastian guttenberg
Thanks again for the postings! I think I got the idea. Although, apparently I should have posted bug 4330 also at the list. But luckily, as I can see, it has found its way itself ;-) -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.

Re: [patch] bug 4330: lyx crashes for outline-commands within math-environment

2007-11-06 Thread Abdelrazak Younes
Jürgen Spitzmüller wrote: Jean-Marc Lasgouttes wrote: Yes, but see below. I've fixed the remaining issues and committed to branch. For trunk, there's the difference that Outline is a(n anonymous) function of BufferView. Abdel, what are your plans? Should this function be moved to text with

Re: [patch] bug 4330: lyx crashes for outline-commands within math-environment

2007-11-06 Thread Jürgen Spitzmüller
Jean-Marc Lasgouttes wrote: > Yes, but see below. I've fixed the remaining issues and committed to branch. For trunk, there's the difference that Outline is a(n anonymous) function of BufferView. Abdel, what are your plans? Should this function be moved to text with the LFUN's or made public?

Re: [patch] bug 4330: lyx crashes for outline-commands within math-environment

2007-11-06 Thread Abdelrazak Younes
Jürgen Spitzmüller wrote: Jean-Marc Lasgouttes wrote: Are the curly braces needed? No, but most of the other elements in the switch embrace their content, so I thought I adapt to that. I don't care. I'll remove them again. FYI, they are only needed if you do declaration inside the case.

Re: [patch] bug 4330: lyx crashes for outline-commands within math-environment

2007-11-06 Thread Jean-Marc Lasgouttes
[EMAIL PROTECTED] (Jürgen Spitzmüller) writes: > Jean-Marc Lasgouttes wrote: >> Are the curly braces needed? > > No, but most of the other elements in the switch embrace their content, so I > thought I adapt to that. Only when they declare a variable. JMarc

Re: [patch] bug 4330: lyx crashes for outline-commands within math-environment

2007-11-06 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: Abdelrazak Younes <[EMAIL PROTECTED]> writes: Jürgen Spitzmüller wrote: Jean-Marc Lasgouttes wrote: And what about moving this from BufferView (which is for all highly editable insets == text+math) to Text3.cpp (which is only for text)? Like this? + case L

Re: [patch] bug 4330: lyx crashes for outline-commands within math-environment

2007-11-06 Thread Jürgen Spitzmüller
Jean-Marc Lasgouttes wrote: > Are the curly braces needed? No, but most of the other elements in the switch embrace their content, so I thought I adapt to that. I don't care. I'll remove them again. > I think cur.paragraph() is enough since we are in Text. You're right. Jürgen

Re: [patch] bug 4330: lyx crashes for outline-commands within math-environment

2007-11-06 Thread Jean-Marc Lasgouttes
Abdelrazak Younes <[EMAIL PROTECTED]> writes: > Jürgen Spitzmüller wrote: >> Jean-Marc Lasgouttes wrote: >>> And what about moving this from BufferView (which is for all >>> highly editable insets == text+math) to Text3.cpp (which is only for text)? >> >> Like this? > > > + case LFUN_OUTLINE_U

Re: [patch] bug 4330: lyx crashes for outline-commands within math-environment

2007-11-06 Thread Jean-Marc Lasgouttes
[EMAIL PROTECTED] (Jürgen Spitzmüller) writes: > Jean-Marc Lasgouttes wrote: >> And what about moving this from BufferView (which is for all >> highly editable insets == text+math) to Text3.cpp (which is only for text)? > > Like this? Yes, but see below. > + case LFUN_OUTLINE_UP: { > +

Re: [patch] bug 4330: lyx crashes for outline-commands within math-environment

2007-11-06 Thread Jürgen Spitzmüller
Abdelrazak Younes wrote: > Can't we put these and (many others) in a new Cursor::getStatus instead? > Text is used (abused) for many things already. But not for branch. Jürgen

Re: [patch] bug 4330: lyx crashes for outline-commands within math-environment

2007-11-06 Thread Abdelrazak Younes
Jürgen Spitzmüller wrote: Jean-Marc Lasgouttes wrote: And what about moving this from BufferView (which is for all highly editable insets == text+math) to Text3.cpp (which is only for text)? Like this? + case LFUN_OUTLINE_UP: + case LFUN_OUTLINE_DOWN: + case LFUN_OUTLINE_I

Re: [patch] bug 4330: lyx crashes for outline-commands within math-environment

2007-11-06 Thread Jürgen Spitzmüller
Jean-Marc Lasgouttes wrote: > And what about moving this from BufferView (which is for all > highly editable insets == text+math) to Text3.cpp (which is only for text)? Like this? Jürgen Index: src/BufferView.cpp === --- src/BufferVi

Re: [patch] for LyX 1.5.3 register placeholders to the math toolbar

2007-11-06 Thread Jean-Marc Lasgouttes
[EMAIL PROTECTED] (Jürgen Spitzmüller) writes: > Jean-Marc Lasgouttes wrote: >> This is not good. The text should be any possible Text Inset (even a >> font change would make the metrics bad). > > Then we need Tommaso's input widget (or a collapsable). A collapsable separate from the space inset

Re: [patch] for LyX 1.5.3 register placeholders to the math toolbar

2007-11-06 Thread Jürgen Spitzmüller
Jean-Marc Lasgouttes wrote: > This is not good. The text should be any possible Text Inset (even a > font change would make the metrics bad). Then we need Tommaso's input widget (or a collapsable). Jürgen

Re: [patch] bug 2218: Spellchecker doesn't pop up dialogue window for the first misspelled word

2007-11-06 Thread Jürgen Spitzmüller
Abdelrazak Younes wrote: > Couldn't someone step up to rewrite the spellchecker in trunk? This > would be a perfect project for a newcomer... Pavel, Tommaso, Uzgur... > are you listening? :-) For the time being, I committed the fix to trunk (with a FIXME). While I was at it, I got the spellchecke

Re: [patch] bug 4330: lyx crashes for outline-commands within math-environment

2007-11-06 Thread Jürgen Spitzmüller
Jean-Marc Lasgouttes wrote: > No, if the lfun is only handled in Text what happens is that > > - Cursor::dispatch asks the top slice (mathed) whether it knows about >   outline ==> no > > - Cursor::dispatch asks the next slice (text) whether it knows about >   outline ==> yes! > > - the outline stu

Re: [patch] for LyX 1.5.3 register placeholders to the math toolbar

2007-11-06 Thread Jean-Marc Lasgouttes
[EMAIL PROTECTED] (Jürgen Spitzmüller) writes: > Jean-Marc Lasgouttes wrote: >> Where would you put the text? > > Like Helge outlined. The dialog would include a combo with all the predefined > spaces (enspace etc.), then custom for a length (\hspace) and a widget for > text ("Space in the lengt

Re: [patch] bug 4330: lyx crashes for outline-commands within math-environment

2007-11-06 Thread Jean-Marc Lasgouttes
[EMAIL PROTECTED] (Jürgen Spitzmüller) writes: > Jean-Marc Lasgouttes wrote: >> OK then. But I still think that moving the code to Text is better >> (since the code only works in text). > > So you think the lfun should be disabled if the cursor is in mathed, even if > the formula is part of a sec

Re: [patch] bug 4330: lyx crashes for outline-commands within math-environment

2007-11-06 Thread Abdelrazak Younes
Jürgen Spitzmüller wrote: Jean-Marc Lasgouttes wrote: OK then. But I still think that moving the code to Text is better (since the code only works in text). So you think the lfun should be disabled if the cursor is in mathed, even if the formula is part of a section? No, you should enable a

Re: [patch] for LyX 1.5.3 register placeholders to the math toolbar

2007-11-06 Thread Jürgen Spitzmüller
Jean-Marc Lasgouttes wrote: > Where would you put the text? Like Helge outlined. The dialog would include a combo with all the predefined spaces (enspace etc.), then custom for a length (\hspace) and a widget for text ("Space in the length of the following string"). Jürgen

Re: [patch] bug 4330: lyx crashes for outline-commands within math-environment

2007-11-06 Thread Jürgen Spitzmüller
Jean-Marc Lasgouttes wrote: > OK then. But I still think that moving the code to Text is better > (since the code only works in text). So you think the lfun should be disabled if the cursor is in mathed, even if the formula is part of a section? Jürgen

Re: [patch] for LyX 1.5.3 register placeholders to the math toolbar

2007-11-06 Thread Jean-Marc Lasgouttes
[EMAIL PROTECTED] (Jürgen Spitzmüller) writes: > Jean-Marc Lasgouttes wrote: >> I never thought about that... But of course you are right. > > I think ui-wise, phantoms should be implemented in a forthcoming InsetSpace > dialog (in Texted). Where would you put the text? JMarc

Re: [patch] bug 4330: lyx crashes for outline-commands within math-environment

2007-11-06 Thread Jean-Marc Lasgouttes
[EMAIL PROTECTED] (Jürgen Spitzmüller) writes: > Jean-Marc Lasgouttes wrote: >> What happens if you just remove mention of these LFUNS from the mathed >> getstatus? This should be enough to get everything working. > > they are not mentioned in mathed/ anywhere. Sorry. And what about moving this f

Re: Use of uncrustify to standardize lyx source file format.

2007-11-06 Thread José Matos
On Monday 05 November 2007 21:53:31 Bo Peng wrote: > > > There are 138 options and I have not gone through them one by one. > > > Most, if not all, your preferences can be achieved by changing > > > uncrustify.cfg. > > > > Possibly, but _I_ won't do that ;-) > > Jose, > > Do you agree to put this f

Re: [Cvslog] r21407 - in /lyx-devel/trunk/src: Paragraph.cpp insets/In...

2007-11-06 Thread Martin Vermeer
On Tue, 06 Nov 2007 11:33:23 +0100 Abdelrazak Younes <[EMAIL PROTECTED]> wrote: > Martin Vermeer wrote: > > On Tue, 06 Nov 2007 08:47:44 +0100 > > Abdelrazak Younes <[EMAIL PROTECTED]> wrote: > > > >> Martin Vermeer wrote: > >>> On Tue, Nov 06, 2007 at 01:39:40AM +0200, Dov Feldstern wrote: > >>>

Re: Where to report bugs?

2007-11-06 Thread Helge Hafting
sebastian guttenberg wrote: Hi all! Shall I report bug's here or directly at bugzilla? Both places are ok. You won't get an instant response from a bugzilla report - and a posting here might be forgotten if nobody reacts quickly. Ideally, you post here first. With luck someone fixes the prob

Re: [patch] for LyX 1.5.3 register placeholders to the math toolbar

2007-11-06 Thread Helge Hafting
Jürgen Spitzmüller wrote: Jean-Marc Lasgouttes wrote: I never thought about that... But of course you are right. I think ui-wise, phantoms should be implemented in a forthcoming InsetSpace dialog (in Texted). Good idea. A dialog like: _ short space _ interword space _ enskip _ ems

Re: [Cvslog] r21407 - in /lyx-devel/trunk/src: Paragraph.cpp insets/In...

2007-11-06 Thread Abdelrazak Younes
Martin Vermeer wrote: On Tue, 06 Nov 2007 08:47:44 +0100 Abdelrazak Younes <[EMAIL PROTECTED]> wrote: Martin Vermeer wrote: On Tue, Nov 06, 2007 at 01:39:40AM +0200, Dov Feldstern wrote: Martin Vermeer wrote: On Mon, Nov 05, 2007 at 11:13:34PM +0200, Dov Feldstern wrote: ... Actually I t

Re: [Cvslog] r21407 - in /lyx-devel/trunk/src: Paragraph.cpp insets/In...

2007-11-06 Thread Martin Vermeer
On Tue, 06 Nov 2007 08:47:44 +0100 Abdelrazak Younes <[EMAIL PROTECTED]> wrote: > Martin Vermeer wrote: > > On Tue, Nov 06, 2007 at 01:39:40AM +0200, Dov Feldstern wrote: > >> Martin Vermeer wrote: > >>> On Mon, Nov 05, 2007 at 11:13:34PM +0200, Dov Feldstern wrote: ... > > Actually I think you

Re: trunk doesn't compile

2007-11-06 Thread Jürgen Spitzmüller
Abdelrazak Younes wrote: > Try to include "odocstream.h", this should fix it. yes, including "support/docstream.h" in MathInsetBig.cpp did it. Jürgen

Re: Detecting paragraphs structure changes.

2007-11-06 Thread Abdelrazak Younes
Abdelrazak Younes wrote: Tommaso Cucinotta wrote: Hi all, I'd like to know if, in the BufferView/TextMetrics classes, there is any method that is always called every time there is a change in the "paragraphs structure", i.e.: -) after creating a new document -) after opening a document -) after

Re: [patch] bug 4330: lyx crashes for outline-commands within math-environment

2007-11-06 Thread Jürgen Spitzmüller
Jean-Marc Lasgouttes wrote: > What happens if you just remove mention of these LFUNS from the mathed > getstatus? This should be enough to get everything working. they are not mentioned in mathed/ anywhere. > I suspect that your patch does not work for nested math insets. It does. I have tested

Re: [patch] bug 4330: lyx crashes for outline-commands within math-environment

2007-11-06 Thread Jean-Marc Lasgouttes
[EMAIL PROTECTED] (Jürgen Spitzmüller) writes: > Jürgen Spitzmüller wrote: >> Objections? > > It turned out that the attached extension is needed, else LyX still crashes. > BTW if you wonder why I don't just disable those lfuns for mathed: they work > if you are in a formula in a section, for ins

Re: [Patch] Bug 2739 - Alphabetical sort of environments in the toolbar

2007-11-06 Thread Alfredo Braunstein
Abdelrazak Younes wrote: >> please do you think i'm worthy enough to gain commit access ? >> is not the only pending patch from me which is obsolete now just because >> nobody has time to commit it. > > I've warned about this bad situation many times. And this is not > affecting only you. > > In

Re: trunk doesn't compile

2007-11-06 Thread Abdelrazak Younes
Jürgen Spitzmüller wrote: /usr/include/c++/4.2.1/bits/ostream_insert.h: In function 'std::basic_ostream<_CharT, _Traits>& std::__ostream_insert(std::basic_ostream<_CharT, _Traits>&, const _CharT*, std::streamsize) [with _CharT = wchar_t, _Traits = std::char_traits]': /usr/include/c++/4.2.1/bit

trunk doesn't compile

2007-11-06 Thread Jürgen Spitzmüller
/usr/include/c++/4.2.1/bits/ostream_insert.h: In function 'std::basic_ostream<_CharT, _Traits>& std::__ostream_insert(std::basic_ostream<_CharT, _Traits>&, const _CharT*, std::streamsize) [with _CharT = wchar_t, _Traits = std::char_traits]': /usr/include/c++/4.2.1/bits/basic_string.h:2404: in

Re: [patch] bug 4330: lyx crashes for outline-commands within math-environment

2007-11-06 Thread Abdelrazak Younes
Jürgen Spitzmüller wrote: Objections? Looks correct. Abdel.

Re: [patch] bug 4330: lyx crashes for outline-commands within math-environment

2007-11-06 Thread Jürgen Spitzmüller
Jürgen Spitzmüller wrote: > Objections? It turned out that the attached extension is needed, else LyX still crashes. BTW if you wonder why I don't just disable those lfuns for mathed: they work if you are in a formula in a section, for instance (and they should be disabled for simple paragraphs,

[patch] bug 4330: lyx crashes for outline-commands within math-environment

2007-11-06 Thread Jürgen Spitzmüller
Objections? Jürgen Index: src/BufferView.cpp === --- src/BufferView.cpp (Revision 21446) +++ src/BufferView.cpp (Arbeitskopie) @@ -645,11 +645,6 @@ case LFUN_FONT_STATE: case LFUN_LABEL_INSERT: case LFUN_PARAGRAPH_GOTO: - // FIX

Re: [patch] for LyX 1.5.3 register placeholders to the math toolbar

2007-11-06 Thread Jürgen Spitzmüller
Jean-Marc Lasgouttes wrote: > I never thought about that... But of course you are right. I think ui-wise, phantoms should be implemented in a forthcoming InsetSpace dialog (in Texted). Jürgen

Re: [patch] for LyX 1.5.3 register placeholders to the math toolbar

2007-11-06 Thread Jean-Marc Lasgouttes
[EMAIL PROTECTED] (Jürgen Spitzmüller) writes: >> The phantom feature is a math feature > > No, \phantom, \vphantom and \hphantom are general (plain TeX) commands, which > also work outside mathed (I use them from time to time). I never thought about that... But of course you are right. JMarc

Re: Detecting paragraphs structure changes.

2007-11-06 Thread Abdelrazak Younes
Tommaso Cucinotta wrote: Hi all, I'd like to know if, in the BufferView/TextMetrics classes, there is any method that is always called every time there is a change in the "paragraphs structure", i.e.: -) after creating a new document -) after opening a document -) after breaking a paragraph in t

Re: [patch] for LyX 1.5.3 register placeholders to the math toolbar

2007-11-06 Thread Jean-Marc Lasgouttes
Uwe Stöhr <[EMAIL PROTECTED]> writes: >> I like this phantom feature a lot myself, but I think it qualifies as >> expert feature. I am not sure it belongs to the toolbar, but I do not >> oppose it. > > The phantom feature is a math feature so it should be accessible via the > math toolbar. The mat

Re: Help on par width.

2007-11-06 Thread Abdelrazak Younes
Tommaso Cucinotta wrote: How is the paragraph width controlled, in LyX ? I'm getting all paragraphs displayed as a single row (i.e. they are not being broken at all at the window width). Look at TextMetrics::rowWidth() Any clue of what I could have modified wrong ? I guess you touched at t