Re: [patch] Re: About our bug in treating spaces from copied text

2011-09-01 Thread Vincent van Ravesteijn
Op 1-9-2011 16:22, Uwe Stöhr schreef: Am 29.08.2011 20:22, schrieb Pavel Sanda: you can call methods via class::method() only when they are static. otherwise you need real existing object for that class to call class_variable.method(). generally you need either the variable or to declare that

Re: [patch] Re: About our bug in treating spaces from copied text

2011-09-01 Thread Uwe Stöhr
Am 29.08.2011 20:22, schrieb Pavel Sanda: you can call methods via class::method() only when they are static. otherwise you need real existing object for that class to call class_variable.method(). generally you need either the variable or to declare that method to be static. How can I do thi

Re: [patch] Re: About our bug in treating spaces from copied text

2011-08-29 Thread Pavel Sanda
Uwe Stöhr wrote: > The attached patch does this but does not compile: "Illegal call of > non-static member function." What am I doing wrong here? you can call methods via class::method() only when they are static. otherwise you need real existing object for that class to call class_variable.metho

[patch] Re: About our bug in treating spaces from copied text

2011-08-29 Thread Uwe Stöhr
Attached is the right approach I think: We need to insert normal spaces as such so pressing SPACE leads to "\ ", pressing Ctrl+Space leads to "~", inserting a visible space leads to "\textvisiblespace". So we only need to call InsetSpace's latex void to do the job. The attached patch does this