Skip to content

Commit

Permalink
Fix missing ifdef SYNTAX_HIGHLIGHTING for file commands
Browse files Browse the repository at this point in the history
  • Loading branch information
bziemons committed Dec 27, 2023
1 parent 62e3add commit 3fa3435
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/edit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -674,7 +674,9 @@ void Editor::enableFileCommands(bool enable) {
_cmdLineNumbers->setEnabled(enable);
//_cmdFormatting->setEnabled(enable);
_cmdBrackets->setEnabled(enable);
#ifdef SYNTAX_HIGHLIGHTING
_cmdSyntaxHighlight->setEnabled(enable);
#endif
_cmdTileVert->setEnabled(enable);
_cmdTileHorz->setEnabled(enable);
_cmdTileFull->setEnabled(enable);
Expand Down

0 comments on commit 3fa3435

Please sign in to comment.