>>>>> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:

Angus> So, now you can access a list of all bindings associated with a
Angus> FuncRequest:

Yes.

Angus> and you would like to generate a QString for each kb_sequence
Angus> in this list. To do so, you need access to 'sequence' and the
Angus> 'first ' part of 'modifiers', below:

Yes.

Angus> Have I got this right?

Indeed.

Angus> Assuming that I have, why not add two functions to kb_sequence,
Angus> as below. That would be guaranteed safe as everything is
Angus> const...

I think this is just a band-aid... a kb_sequence should probably be a
container of LyXKeySym, and a LyXKeySym should contain the modifiers
along with it. However, I do not think that now is the time for such
changes. 

My current thinking is that, if we are going to add kludgy code, I'd
rather stick to my original code which at least does not pretend to
clean up anything...

JMarc

Reply via email to