Actually no sooner had I said that, but I worked out what is going on
(and added the following to bugzilla).

Hold shift and begin pressing left arrow to create a selection and
expand it left. Continue until the selection starts from the beginning
of the current line.

Then press left again, to attempt to start the selection on the end of
the previous line. LyX will abort, with an error "attempt to subscript
container with out-of-bounds index -1".

This is not the only way to generate this error but it is probably the
easiest to reproduce.

(latest svn)

Have fun,
Darren

On Mon, 2007-05-14 at 23:12, Darren Freeman wrote:
> This error has happened to me a few times now, without needing the more
> complex steps outlined below.
> 
> It seems if I hold down shift and then left a few times, to create a
> highlighted region, I can make exactly the same crash happen.
> 
> It would seem to be within the selection handling routines.
> 
> Have fun,
> Darren


Reply via email to