the plan:
programing language: Perl
ui:
Definition of current word taken from gismu.txt cmavo.txt and NORALUJV.txt |
read(malglico) text |
.i current sentence |
unread text |
jbofi'e output for current sentence |
user interaction:
the user pasts some text into the unread text text box.
the user clicks in the unread text text box.
The use presses the right arrow: |
if the cursor is at the end of the current sentence text box then: |
all of the text up to the second '.i' in the unread text text box is moved up to the current sentence text box. http://www.lojban.org/tiki/tiki-download_wiki_attachment.php?attId=132 is used to read the text to the reader. and jbofi'e output for current sentence text box is updated. the cursor is sent to the beginning of the current sentence text box and the default command for right arrow is executed. |
Default: |
the Definition of current word taken from gismu.txt cmavo.txt and NORALUJV.txt text box is updated for the next word in the current sentence text box and the cursor is sent to the end of that word. |
I bet you can guess what back arrow should do...