On Thu, Mar 13, 2003 at 03:47:33PM +0100, Andre Poenitz wrote: > Is pos() == size() acceptable in LyXText (in math it is, but that's > obviously another issue...)?
No it's not (with the exception of looking up fonts I believe). getChar(size) should always be able to meaningfully return META_INSET, and getInset(size) should and does assert. We should fix the access instead. getChar() should just be return text[pos] ... john