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.

Second the data collection is very poor because I wanted to get the backend, WordList, working first in a proper way. So it only adds words when closing them with a space. I.e. type lalalala<space> and the word is added to the WordList.

The next step is to fill this word list in a better way. One idea is to take the longer words from the document. Another would be to use a dictionary word list.

Stefan


Reply via email to