Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Tricky problem. I threw together some code that *almost* works. Feel free to expand on this. Current bugs I have noticed are:
1) Backspace and delete should be re-mapped to one another (to account for the backwords nature of the writing). 2) Sometime it just plain goofs, and doesn't print letters in the proper (reversed) order. This bug seems to have something to do with using the mouse to change cursor position, but I can't tell for sure. 3) cursor keys will not navigate properly.
edit: I think I figured bug 2 out... text is printed out of order if you hit a second key before the first key is released. Unfortunately, switching KeyRelease with KeyPress doesn't make everything work. Text is still sometimes out of order, for no apparant reason. In reply to Re: right to left Tk text widget
by wolfger
|
|