Quoting Micha Silver <[EMAIL PROTECTED]>:

> Everyone's familiar with the excellent touch typing program, ktouch. In 
> earlier versions (1.4.x), bidi worked fine: You could choose a hebrew 
> keyboard, and load a hebrew 'lesson' (I got a good one from Asaf 
> Gordon), and type away.
> 
> 
> In recent versions - 1.5.x -the bidi part got broken: the line where the 
> user types displays from LTR, while the lesson displays RTL, making the 
> program useless. Diego opened a bug some months ago:
> 
> http://bugs.kde.org/show_bug.cgi?id=130103
> 
> but it only has 1 vote (mine).
> 
> Perhaps if some others vote for this bug someone will try to fix it...
> 

The way the bug is described it looks like it should be very easy for someone to
fix (I just don't have a development computer available right now with up to
date Qt and KDE, or I'd try it):

just change lines 349-350 in ktouchslideline.cpp from

        p.drawLine(cursor_x_student, m_yCursorStudent,
                                   cursor_x_student, m_yCursorStudent + 
m_cursorHeight);

to

    if (!Prefs::right2LeftTyping()) {
        p.drawLine(cursor_x_student, m_yCursorStudent,
                                   cursor_x_student, m_yCursorStudent + 
m_cursorHeight);
}

else{
        p.drawLine(cursor_x_student - something, m_yCursorStudent,
                                   cursor_x_student - something, 
m_yCursorStudent + m_cursorHeight);

}

where something is the width of the text already typed.  Why doesn't someone
just do it?

Ephraim



99% of lawyers give all the rest a bad name.

Anonymous



=================================================================
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