* Elazar Leibovich <[EMAIL PROTECTED]> [070426 16:24]:
> Problem:
> I wish to hack and solve Bidirectionality related bugs in Lyx.
> However, I don't want to read all and understand all the code in Lyx,
> but only the code related to cursor movement, character insertion,
> etc.
> How can I find the relevant pieces of code quickly?

The best suggestion would be to ask the developers of LyX, some of them
are also available on IRC and can easily point you to the best places to
look at.

> Suggested Solution:
> Run Lyx with a debugger, have the debugger print constantly which
> functions from lyx sources (so that printf() wouldn't litter the
> output) are being called, now press left, and watch the execution
> flow, based on that locate the required code.

I'd go for grepping the source with "left" "right" and "cursor", as far
as I remember this code was done in one large event loop so you should
be able to find it from there, try to search for the above keywords in
an area of a switch block.

Baruch

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to