Am 25.02.2008 um 14:49 schrieb Stefan Schimanski:


Am 25.02.2008 um 14:45 schrieb Abdelrazak Younes:

Abdelrazak Younes wrote:
Stefan Schimanski wrote:
=
=
=
=
================================================================
--- lyx-devel/trunk/src/mathed/InsetMathNest.h (original)
+++ lyx-devel/trunk/src/mathed/InsetMathNest.h Mon Feb 25 14:11:09 2008
@@ -28,7 +28,7 @@
 ///
 virtual size_t size() const;
 ///
-    virtual docstring data(size_t idx) const;
+    virtual docstring const & data(size_t idx) const;
 ///
 virtual std::string icon(size_t idx) const;
Had the same in mind. What about your crash? I didn't want to change the signature before fixing that.

I have the hope that this change will fix my crash...

How can it? It will hide the bug at best :-/
Don't ask me why but it did.

The math completion works but not the text, is that normal?

Well, depends on what you call working. First I disabled the automatic completion for text because it might be annoying for many people. So you have to press tab after entering the first character of a word.

One idea I didn't implement yet, but which might be worth to be added: if there is a completion we could display another cursor, with some + sign or something like that. This would be less annoying, but still visible easily.

Stefan

Reply via email to