TMW->Wylie now occurs in the TibetanDocument, not in DuffPane,
which means that the command-line tool can finally function with a headless graphics device. Hopefully it will speed things up, too. It also means that entering Roman text into the TMW->Unicode conversion and TMW->TM conversion will be easy.
This commit is contained in:
parent
61d29fc355
commit
6151a7bc94
4 changed files with 101 additions and 89 deletions
|
@ -1076,8 +1076,9 @@ public class Jskad extends JPanel implements DocumentListener {
|
|||
|
||||
private void toWylie() {
|
||||
Jskad.this.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));
|
||||
long n[] = new long[] { 0 };
|
||||
dp.toWylie(dp.getSelectionStart(), dp.getSelectionEnd(), n);
|
||||
((TibetanDocument)dp.getDocument()).toWylie(dp.getSelectionStart(),
|
||||
dp.getSelectionEnd(),
|
||||
new long[] { 0 });
|
||||
Jskad.this.setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue