Set positions inside the text to be showed in brace mode. Brace colors and fonts indentify characters like "{", "(" and "["
$brace_pos = $scintilla->get_current_pos(); $char = $scintilla->get_char_at($brace_pos); if (($char == '{') or ($char == '}')) // or... $other_pos = $scintilla->brace_match($brace_pos); $scintilla->brace_highlight($brace_pos, $other_pos);