Re: Mathed completion popup

2008-02-20 Thread Abdelrazak Younes
Stefan Schimanski wrote: Am 20.02.2008 um 12:11 schrieb Pavel Sanda: A small progress report of the patch: I made it very generic now and am on the way to implement completion for the text mode as well. You can see a tiny screencast here: just a crazy idea... would it be hard to add the ima

Re: r23068 - /lyx-devel/trunk/src/BufferView.cpp

2008-02-20 Thread Enrico Forestieri
On Thu, Feb 21, 2008 at 03:00:50AM +0100, Enrico Forestieri wrote: > Then, this is going to be most annoying. Consider that I am skimming > through a document and an element is off screen. Then, if I try to > enlarge the window to see it, I am brought back to the cursor location? Just tried it. I

Re: Mathed completion popup

2008-02-20 Thread Bo Peng
> i see. imho images should be after text, so all text items are aligned to > the left > border. It would be better if images have the same size, and be kept to the left. This can avoid irregular spaces after short symbol names. Bo

Re: r23068 - /lyx-devel/trunk/src/BufferView.cpp

2008-02-20 Thread Enrico Forestieri
On Wed, Feb 20, 2008 at 10:29:23AM +0100, Abdelrazak Younes wrote: > [EMAIL PROTECTED] wrote: > > Author: sanda > > Date: Tue Feb 19 22:27:18 2008 > > New Revision: 23068 > > > > URL: http://www.lyx.org/trac/changeset/23068 > > Log: > > Update cursor and scrollbar after resize. > > Fixes bug 4044

Re: Warnings for Pavel

2008-02-20 Thread Pavel Sanda
> LyXFunc.cpp: In function 'void lyxactOnUpdatedPrefs(const > lyx::LyXRC&, const lyx::LyXRC&)': > LyXFunc.cpp:1885: warning: enumeration value 'RC_FULL_SCREEN_LIMIT' not > handled in switch > LyXFunc.cpp:1885: warning: enumeration value 'RC_FULL_SCREEN_SCROLLBAR' not > handled in switch > Ly

Re: Mathed completion popup

2008-02-20 Thread Pavel Sanda
> > Am 20.02.2008 um 12:11 schrieb Pavel Sanda: > >>> A small progress report of the patch: I made it very generic now and am >>> on >>> the way to implement completion for the text mode as well. You can see a >>> tiny screencast here: >> >> just a crazy idea... would it be hard to add the image o

Re: InsetCollapsable Problem [WAS: Crash in trunk related to layout, InsetSpace or SpecialChar]

2008-02-20 Thread Richard Heck
Andre Poenitz wrote: On Wed, Feb 20, 2008 at 03:08:03PM -0500, Richard Heck wrote: Index: insets/InsetLayout.h === --- insets/InsetLayout.h(revision 23079) +++ insets/InsetLayout.h(working copy) @@ -23,6 +23,12 @@

Re: Mathed completion popup

2008-02-20 Thread Stefan Schimanski
Am 20.02.2008 um 12:11 schrieb Pavel Sanda: A small progress report of the patch: I made it very generic now and am on the way to implement completion for the text mode as well. You can see a tiny screencast here: just a crazy idea... would it be hard to add the image of the symbols to

Re: InsetCollapsable Problem [WAS: Crash in trunk related to layout, InsetSpace or SpecialChar]

2008-02-20 Thread Andre Poenitz
On Wed, Feb 20, 2008 at 03:08:03PM -0500, Richard Heck wrote: > Index: insets/InsetLayout.h > === > --- insets/InsetLayout.h (revision 23079) > +++ insets/InsetLayout.h (working copy) > @@ -23,6 +23,12 @@ > /// > class Inse

Re: InsetCollapsable Problem [WAS: Crash in trunk related to layout, InsetSpace or SpecialChar]

2008-02-20 Thread Abdelrazak Younes
Richard Heck wrote: What we need here seems to me to be a hardcoded empty InsetLayout, similar to the hardcoded empty layout introduced into TextClass. This already kind of exists in TextClass::insetlayout(), though it isn't available if we don't have a TextClass. So I've made it static in the

Re: Another assert

2008-02-20 Thread Abdelrazak Younes
Richard Heck wrote: Richard Heck wrote: José Matos wrote: After Richard fix I get an assertion. The problem is that lcolor.getX11Name(Color_shadedbg), on LaTeXFeatures line 636, is returning "red". I'll look to see why this is, but maybe someone else knows? This just looks like bad cod

InsetCollapsable Problem [WAS: Crash in trunk related to layout, InsetSpace or SpecialChar]

2008-02-20 Thread Richard Heck
Abdelrazak Younes wrote: This happens while trying to open any of the help documents. Richard maybe? OK. This was caused by my commits---so my bad---but I think it's because I exposed an underlying bug. I've fixed it for now, in the sense that the help documents will open. The problem was tha

Re: Cannot compile trunk

2008-02-20 Thread Andre Poenitz
On Wed, Feb 20, 2008 at 12:24:07PM +0100, Abdelrazak Younes wrote: > Jean-Marc Lasgouttes wrote: >> Here is what I get with latest trunk: >> g++ -DHAVE_CONFIG_H -I. -I../../../../lyx-devel/src/frontends/qt4 >> -I../../../src -DQT_CLEAN_NAMESPACE -DQT_GENUINE_STR -DQT_NO_STL >> -DQT_NO_KEYWORDS -

Warnings for Pavel

2008-02-20 Thread Richard Heck
LyXFunc.cpp: In function 'void lyxactOnUpdatedPrefs(const lyx::LyXRC&, const lyx::LyXRC&)': LyXFunc.cpp:1885: warning: enumeration value 'RC_FULL_SCREEN_LIMIT' not handled in switch LyXFunc.cpp:1885: warning: enumeration value 'RC_FULL_SCREEN_SCROLLBAR' not handled in switch LyXFunc.cpp:1885

Re: Another assert

2008-02-20 Thread Richard Heck
Richard Heck wrote: José Matos wrote: After Richard fix I get an assertion. The problem is that lcolor.getX11Name(Color_shadedbg), on LaTeXFeatures line 636, is returning "red". I'll look to see why this is, but maybe someone else knows? This just looks like bad code: LaTeXFeatures.c

Re: Another assert

2008-02-20 Thread Richard Heck
José Matos wrote: After Richard fix I get an assertion. The problem is that lcolor.getX11Name(Color_shadedbg), on LaTeXFeatures line 636, is returning "red". I'll look to see why this is, but maybe someone else knows? rh

Re: postats.py

2008-02-20 Thread Juergen Spitzmueller
José Matos wrote: > Does it works now? Yes. Please commit to branch as well. Jürgen

Re: New nice article about LyX among other things

2008-02-20 Thread Abdelrazak Younes
Abdelrazak Younes wrote: David Hewitt wrote: http://thebeezspeaks.blogspot.com/2008/02/applications-are-open-source-too.html Could someone put it in the wiki/webpage? Gladly... do you have a preference for where it should go? I just browsed around and didn't see an obvious location. It

Another assert

2008-02-20 Thread José Matos
After Richard fix I get an assertion. Assertion triggered in lyx::RGBColor lyx::rgbFromHexName(const std::string&) by failing check "x11hexname.size() == 7 && x11hexname[0] == '#'" infile Color.cpp:80 Program received signal SIGABRT, Aborted. [Switching to Thread 0xb7fd3940 (LWP 9744)] 0x001104

Re: postats.py

2008-02-20 Thread José Matos
On Tuesday 19 February 2008 20:15:56 Juergen Spitzmueller wrote: > I noted that postats.py does not work for me, unless I manually set LC_ALL > to 'C' before running make i18n.inc (else, the msgmerge messages are in > German). On a second look I can't understand how the previous fix worked. I ha

Re: Crash in trunk related to layout, InsetSpace or SpecialChar

2008-02-20 Thread Richard Heck
Abdelrazak Younes wrote: Abdelrazak Younes wrote: This happens while trying to open any of the help documents. Richard maybe? lyx.exe!lyx::Paragraph::isFreeSpacing() Line 2373 + 0x27 bytesC++ By the way d->inset_owner_ is an InsetFoot here if that makes any difference. Yes, p

Re: Mathed completion popup

2008-02-20 Thread Richard Heck
Stefan Schimanski wrote: Also, users may prefer 1. disable this at all, 2. completion on request (shortcut), or 3. automatic completion list. Sure, I added a preference section for those things. I am aware that everybody has his own taste concerning completion. The preference I'd most like t

Re: Mathed completion popup

2008-02-20 Thread Bo Peng
> Very simple at the moment. I just add words with length > 5 to a > std::set during typing. Of course something more clever is > needed here. As long as you abstract the logic of this to an independent class, it can be improved later. Also, users may prefer 1. disable this at all, 2. completi

Re: Mathed completion popup

2008-02-20 Thread Stefan Schimanski
Am 20.02.2008 um 17:05 schrieb Bo Peng: Very simple at the moment. I just add words with length > 5 to a std::set during typing. Of course something more clever is needed here. As long as you abstract the logic of this to an independent class, it can be improved later. The logic for adding

Re: Mathed completion popup

2008-02-20 Thread Stefan Schimanski
Am 20.02.2008 um 16:47 schrieb Bo Peng: ... and am on the way to implement completion for the text mode as well. Done. Good night! Ohhm, what is the algorithm to determine the candidate word list? Very simple at the moment. I just add words with length > 5 to a std::set during typing.

Re: Mathed completion popup

2008-02-20 Thread Bo Peng
> > ... and am on the way to implement completion for the text mode as well. > > Done. Good night! Ohhm, what is the algorithm to determine the candidate word list? Bo

Re: postats.py

2008-02-20 Thread Jean-Marc Lasgouttes
Juergen Spitzmueller <[EMAIL PROTECTED]> writes: > I noted that postats.py does not work for me, unless I manually set LC_ALL > to 'C' before running make i18n.inc (else, the msgmerge messages are in > German). I do not see this problem here. José? JMarc

Re: Cannot compile trunk

2008-02-20 Thread Jean-Marc Lasgouttes
Edwin Leuven <[EMAIL PROTECTED]> writes: > can you svn update and try again? Seems to work, thanks. JMarc

Re: Cannot compile trunk

2008-02-20 Thread Edwin Leuven
can you svn update and try again? Jean-Marc Lasgouttes wrote: Abdelrazak Younes <[EMAIL PROTECTED]> writes: This is Pavel using Qt4.3' designer. Just open PrefUi.ui in Qt4.2' designer and save it. Pavel, please use Qt4.2 designer in the future. I did that, but it did not change anything. J

Re: Cannot compile trunk

2008-02-20 Thread Jean-Marc Lasgouttes
Abdelrazak Younes <[EMAIL PROTECTED]> writes: > This is Pavel using Qt4.3' designer. Just open PrefUi.ui in Qt4.2' > designer and save it. > > Pavel, please use Qt4.2 designer in the future. I did that, but it did not change anything. JMarc

Re: Mathed completion popup

2008-02-20 Thread Stefan Schimanski
Am 20.02.2008 um 12:11 schrieb Pavel Sanda: A small progress report of the patch: I made it very generic now and am on the way to implement completion for the text mode as well. You can see a tiny screencast here: just a crazy idea... would it be hard to add the image of the symbols to

Re: Cannot compile trunk

2008-02-20 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: Here is what I get with latest trunk: g++ -DHAVE_CONFIG_H -I. -I../../../../lyx-devel/src/frontends/qt4 -I../../../src -DQT_CLEAN_NAMESPACE -DQT_GENUINE_STR -DQT_NO_STL -DQT_NO_KEYWORDS -I../../../../lyx-devel/src -I../../../../lyx-devel/src/frontends -I../../../.

Re: Cannot compile trunk

2008-02-20 Thread Jean-Marc Lasgouttes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: > Here is what I get with latest trunk: This is with qt 4.2.3, BTW. JMarc

Cannot compile trunk

2008-02-20 Thread Jean-Marc Lasgouttes
Here is what I get with latest trunk: g++ -DHAVE_CONFIG_H -I. -I../../../../lyx-devel/src/frontends/qt4 -I../../../src -DQT_CLEAN_NAMESPACE -DQT_GENUINE_STR -DQT_NO_STL -DQT_NO_KEYWORDS -I../../../../lyx-devel/src -I../../../../lyx-devel/src/frontends -I../../../../lyx-devel/images -DQT_SHAR

Re: Mathed completion popup

2008-02-20 Thread Pavel Sanda
> A small progress report of the patch: I made it very generic now and am on > the way to implement completion for the text mode as well. You can see a > tiny screencast here: just a crazy idea... would it be hard to add the image of the symbols to the menu? we already have symbols and their ma

Re: Crash in trunk related to layout, InsetSpace or SpecialChar

2008-02-20 Thread Abdelrazak Younes
Abdelrazak Younes wrote: This happens while trying to open any of the help documents. Richard maybe? lyx.exe!lyx::Paragraph::isFreeSpacing() Line 2373 + 0x27 bytesC++ By the way d->inset_owner_ is an InsetFoot here if that makes any difference. Abdel.

Crash in trunk related to layout, InsetSpace or SpecialChar

2008-02-20 Thread Abdelrazak Younes
This happens while trying to open any of the help documents. Richard maybe? lyx.exe!lyx::Paragraph::isFreeSpacing() Line 2373 + 0x27 bytes C++ lyx.exe!lyx::`anonymous namespace'::readParToken(const lyx::Buffer & buf={...}, lyx::Paragraph & par={...}, lyx::Lexer & lex={...}, const s

Re: r23068 - /lyx-devel/trunk/src/BufferView.cpp

2008-02-20 Thread Abdelrazak Younes
[EMAIL PROTECTED] wrote: Author: sanda Date: Tue Feb 19 22:27:18 2008 New Revision: 23068 URL: http://www.lyx.org/trac/changeset/23068 Log: Update cursor and scrollbar after resize. Fixes bug 4044. Modified: lyx-devel/trunk/src/BufferView.cpp Modified: lyx-devel/trunk/src/BufferView.cpp UR

Re: Mathed completion popup

2008-02-20 Thread Martin Vermeer
On Tue, 19 Feb 2008 21:38:24 +0100 Stefan Schimanski <[EMAIL PROTECTED]> wrote: > Hi! > > A small progress report of the patch: I made it very generic now and > am on the way to implement completion for the text mode as well. You > can see a tiny screencast here: > >http://www.youtube.co