Asian Application Developer's Guide

Preedit Styles

Many scripts require multiple key strokes to form a single display character, syllable, symbol, ideogram, or other item. Adequate space is needed to display input keystrokes for these languages. For the Asian CDE environment, this intermediate display area is called the preedit area. The preedit area displays intermediate formations of input keystrokes while they are held in a buffer before being committed and sent to the application.

The available styles of preedit area positioning are discussed in the following sections. You can set the style by placing one of the following lines in the .Xdefaults resource file:

Table 5-2 Preedit Styles

Preedit Style 

X Resource 

on-the-spot 

N/A 

over-the-spot 

*preeditType: overTheSpot

off-the-spot 

*preeditType: offTheSpot

root window 

*preeditType: root