Re: qtclean - take 2

2002-10-19 Thread John Levon
On Sun, Oct 20, 2002 at 02:07:53AM +0200, Lars Gullik Bjønnes wrote: > ok ok ok I will reformat it a bit nicer. Thanks :) > size build/src/lyx qt/src/lyx >textdata bss dec hex filename > 2516363 80524 48668 264 285e33 build/src/lyx > 2713142 135952 22972 2872066

ctrl-m on text does not convert to math?

2002-10-19 Thread Nirmal Govind
Hi.. when I try Ctrl-M on regular text, Lyx 1.2 will convert that text to Math. However, I don't see this behavior in cvs.. I vaguely remember someone else asking a similar question but couldn't find it with a search on the archive.. is this feature not being implemented in 1.3? Thanks, nirmal

Re: cvs compile fails!

2002-10-19 Thread Nirmal Govind
> without -d you won't get new directories... and without -P you won't > loose unused directories... > I see...thanks Lars.. nirmal

Re: qtclean - take 2

2002-10-19 Thread Lars Gullik Bjønnes
John Levon <[EMAIL PROTECTED]> writes: | > | You've tested this part is safe ? | > | > how to test? | | type "ma" in minibuffer, press right arrow, select an entry. well, it didn't crash and the command was run, so I guess it works. -- Lgb

Re: qtclean - take 2

2002-10-19 Thread Lars Gullik Bjønnes
John Levon <[EMAIL PROTECTED]> writes: | > | // FIXME: do we need to use return value from classApply() here | > | // ?? | > | classApply(); | | which indicates that perhaps we need to consider return value, and is | future proof. Imagine somebody new coming across "// boo succes = // | usu

Re: qtclean - take 2

2002-10-19 Thread John Levon
On Sat, Oct 19, 2002 at 11:37:32PM +0200, Lars Gullik Bjønnes wrote: > | + // bool succes = // usused > | > | YUCK ! > > The misspelling you mean? > (I think this code is being worked on, so I did not really want to > change anything... but it gave compiler warnings and I just cannot > sta

Re: qtclean - take 2

2002-10-19 Thread Lars Gullik Bjønnes
John Levon <[EMAIL PROTECTED]> writes: | On Sat, Oct 19, 2002 at 10:49:22PM +0200, Lars Gullik Bjønnes wrote: | | > I have been having some fun... | | + // bool succes = // usused | | YUCK ! The misspelling you mean? (I think this code is being worked on, so I did not really want to chan

Re: qtclean - take 2

2002-10-19 Thread John Levon
On Sat, Oct 19, 2002 at 10:49:22PM +0200, Lars Gullik Bjønnes wrote: > I have been having some fun... + // bool succes = // usused YUCK ! // FIXME: do we need to use return value from classApply() here // ?? classApply(); please ! -void QCommandBuffer::complete_s

Re: Printing: Liason.[Ch] merged with controller; setMinibuffer() ?

2002-10-19 Thread Lars Gullik Bjønnes
Rob Lahaye <[EMAIL PROTECTED]> writes: | > No, but it could be put in some src/frontend file. LyXView perhaps. | > ... actually now since the LyXView has been moved into the frontends | > the whole setMinibuffer function should be removed and the users of it | > should just use LyXView::message di

qtclean - take 2

2002-10-19 Thread Lars Gullik Bjønnes
I have been having some fun... I have looked through all the qt files and fixed small stuff, a lot of ws changes, nothing special... As part of this I also wanderd briefly into the xforms and controllers directories. Please have a look at this patch... look fast it is pretty large... qtclea

Re: cvs compile fails!

2002-10-19 Thread Lars Gullik Bjønnes
Nirmal Govind <[EMAIL PROTECTED]> writes: | > | > both of these are definitely in CVS. Are you sure you are really up do | > date? Are you using -dP when updating cvs? | > | | I'm using Mandrake 9.0, gcc/g++ 3.2 .. I wasn't using -dP while doing | "cvs update" .. Have been doing just "cvs updat

Re: cvs compile fails!

2002-10-19 Thread Nirmal Govind
> > both of these are definitely in CVS. Are you sure you are really up do > date? Are you using -dP when updating cvs? > I'm using Mandrake 9.0, gcc/g++ 3.2 .. I wasn't using -dP while doing "cvs update" .. Have been doing just "cvs update" till now.. has the server changed? Well, I just did a

Re: cvs compile fails!

2002-10-19 Thread Lars Gullik Bjønnes
Nirmal Govind <[EMAIL PROTECTED]> writes: | Hi.. I'd emailed regarding this error earlier but didn't get a | response.. so I updated my lyx cvs version again and tried but still the | make fails with the following error: | | ../../../../boost/boost/type_traits/remove_const.hpp:16:55: | boost/type

Re: cvs compile fails!

2002-10-19 Thread Lars Gullik Bjønnes
Nirmal Govind <[EMAIL PROTECTED]> writes: | Hi.. I'd emailed regarding this error earlier but didn't get a | response.. so I updated my lyx cvs version again and tried but still the | make fails with the following error: I never saw your report. btw what kind of system is this compiler/vesion, o

cvs compile fails!

2002-10-19 Thread Nirmal Govind
Hi.. I'd emailed regarding this error earlier but didn't get a response.. so I updated my lyx cvs version again and tried but still the make fails with the following error: ../../../../boost/boost/type_traits/remove_const.hpp:16:55: boost/type_traits/detail/cv_traits_impl.hpp: No such file or dire

Re: Clipboard

2002-10-19 Thread Juergen Spitzmueller
John Levon wrote: > what xforms version. Both 0.89 and 1.0rc5 (klipper works with the qt frontend, though) > what happens in KDE when kill klipper (it's stupid > anyway). Nothing (still doesn't copy) > Try adding some debug to XWorkWare::haveSelection, > getClipboard, putClipboard I'll do wh

Re: mouse scroll wheel not working

2002-10-19 Thread John Levon
On Sat, Oct 19, 2002 at 07:29:13PM +0930, Darren Freeman wrote: > I'll have a poke around in the source, someone mentioned the lines that > are the problem and asked for a wheel user to fix it. Great. Here's some hints : defaultHeight() is the standard height of one text row height() is the hei

Re: Clipboard

2002-10-19 Thread John Levon
On Sat, Oct 19, 2002 at 08:45:53AM +0100, Kornel Benko wrote: > > > No, it's not. I have KDE too, and the xforms-version is working properly. > > > Problems with clipboard are only with my QT-version of lyx. > > > > More precise: With 1.2.2cvs, for instance, I can cut and paste into non-kde > > ap

Re: Printing: Liason.[Ch] merged with controller; setMinibuffer()?

2002-10-19 Thread Rob Lahaye
Lars Gullik Bjønnes wrote: Rob Lahaye <[EMAIL PROTECTED]> writes: | // [--skip head of file here--] | namespace Liason { | | void setMinibuffer(LyXView * lv, string const & msg) | { | lyx::Assert(lv); | lv->message(msg); | } | | } // namespace Liason | | | This should not go into the contro

use boost::tokinizer

2002-10-19 Thread Lars Gullik Bjønnes
I kindo like this: /// gives a vector of stringparts which have the delimiter delim vector const getVectorFromString(string const & str, string const & delim) { #if 0 vector vec; if (str.empty()) return vec; string keys(rtrim(str));

Re: mouse scroll wheel not working

2002-10-19 Thread Darren Freeman
I have just compiled the 1.3.0CVS version. Mouse wheel works perfectly throughout my system. But LyX mousewheel support is now broken, was working in 1.2.1 I can scroll down one line from the top of the document with the wheel, then it stops responding to the wheel. If I move the cursor back

Re: Printing: Liason.[Ch] merged with controller; setMinibuffer() ?

2002-10-19 Thread Lars Gullik Bjønnes
Rob Lahaye <[EMAIL PROTECTED]> writes: | // [--skip head of file here--] | namespace Liason { | | void setMinibuffer(LyXView * lv, string const & msg) | { | lyx::Assert(lv); | lv->message(msg); | } | | } // namespace Liason | | | This should not go into the controller, right? No,

Printing: Liason.[Ch] merged with controller; setMinibuffer() ?

2002-10-19 Thread Rob Lahaye
Allan Rae wrote: The Liason.C code was originally meant to be in lyxfunc but we couldn't pass the data (except via XTL or some other elaborate scheme so I left it in a separate file). As Angus has said the code there should be shifted to the appropriate controllers now. Allen, I have moved al

Re: Clipboard

2002-10-19 Thread Kornel Benko
-BEGIN PGP SIGNED MESSAGE- On Friday 18 October 2002 16:00, Jürgen Spitzmüller wrote: > Kornel Benko wrote: > > On Friday 18 October 2002 11:07, Juergen Spitzmueller wrote: > > > That's the problem. It works with gnome. > > > > No, it's not. I have KDE too, and the xforms-version is workin