80. showMatchingChar
Prev | Chapter 6. Commands written in the Java™ programming language | Next

## 80. showMatchingChar

Parameter syntax:

    ')' | '}' | ']'

Inserts specified character at caret position then, if the matching character (`'('`, `'{'`, `'['`) is found, highlights this matching character for half a second. If the matching character is not found, this command emits an audio beep.

This command must be bound to the following keystrokes:

      <binding>
        <charTyped char=")" />
        <command name="showMatchingChar" parameter=")" />
      </binding>

      <binding>
        <charTyped char="}" />
        <command name="showMatchingChar" parameter="}" />
      </binding>

      <binding>
        <charTyped char="]" />
        <command name="showMatchingChar" parameter="]" />
      </binding>

Note that a binding such as "`<charTyped char="}"/>`" may not work on some platforms. For example, it does not work on Windows when using a French keyboard where `'}'` is typed by pressing AltGr+}.

Prev | Up | Next
79. showContentModel | Home | 81. spellCheck