Try the following scenario:
1. Open a new document (an existing one will work too).
2. Create a margin note (The same happens with a footnote too).
3. Close it and place the cursor just before the margine note.
4. Press the 'Delete' key.
5. Find in the console the message: 
"ERROR (LyXParagraph::Erase): can't erase non-existant char."

I don't remember seeing this in previous versions.

Debug printing shows that  pos==0 and size()==0 so obviously pos is not
less than size() and pos is not greater than size(), this is a case that
is not handled in the function (LyXParagraph::Erase), Furthermore if the
size is the size of the paragraph, returning size()==0 is dubious since
there is a margin note inside, it cant be zero.

-- 
  Baruch Even

http://techst02.technion.ac.il/~sbaruch/   (My Site)
http://www.redrival.com/jindor/            (My brothers AD&D site)

" Learn to laugh ... it's the path to true love! " 
   - The Angel in the movie Michael




Reply via email to