# If syntax highlighting seems not working properly in CotEditor on Mac

When syntax highlighting seems not working properly, try the following procedure:

1. Choose Format > Syntax > Recolor All.

If it doesn’t help, the possible causes are:

- There is something inadequate in your text (for example, inadequate programming syntax).
- There is something inadequate in your syntax definition.

## See also

- Define a syntax