>>>>> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:
JMarc> Also Angus, it is not possible to insert an index entry at the
JMarc> beginning of a paragraph.
Angus> That's because LyXFunc::Dispatch() contains the code:
Angus> case LFUN_INDEX_CREATE: case LFUN_INDEX_CREATE_LAST: { //
Angus> Can't do that at the beginning of a paragraph. if
Angus> (owner->view()->text->cursor.pos() - 1 < 0) break;
Angus> .... } break;
Angus> This is legacy code, but makes sense as the index entry refers
Angus> to the word preceeding it.
I think that, while the restriction makes sense for
LFUN_INDEX_CREATE_LAST, it does not for insert-index, especially since
there is no error message. Inserting an empty index entry would make
more sense.
JMarc