JEXI development (12) implement cursor input

zhaozj2021-02-16  104

Today, the cursor positioning is achieved, adding input functions, you can type but you can't delete ^ _ ^, and also realize the typesette (20 characters per line), but the English is not always written.

Source code can be downloaded from here, need a SWT JAR and local DLL support, write a batch run:

Set classpath = .;

Java jexi.ui.Application

Copy the DLL to the Windows directory or System32 directory (no replication, but you want to specify the path, trouble), then switch to the Class of the Class running batch.

Today, I've been written until I found a serious problem: the Caret class has a problem, using Paragraph and Index can't represent the location of the CARET, and only use Page, Row, and Column, decide to reread the CARET tomorrow.

转载请注明原文地址:https://www.9cbs.com/read-10210.html

New Post(0)