for (int i = 0; i < fInserters.length; i++) {
final CharacterPairing pairing = fInserters[i];
// use a SafeRunner -- this is a critical function (typing)
SafeRunner.run(new ISafeRunnable() {
public void run() throws Exception {
final AbstractCharacterPairInserter inserter = pairing.inserter;
if (inserter.hasPair(event.character)) {
if (pair(event, inserter, pairing.partitions))
paired[0] = true;
}
}