Skip to content

Commit

Permalink
RGM Enable Syntax Highlight (#93)
Browse files Browse the repository at this point in the history
Call it enable instead of disable like fundies wanted for CLI server enable option.
  • Loading branch information
RobertBColton committed Mar 7, 2020
1 parent c0c406c commit 6d626d7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions RadialGM.pro
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ QMAKE_TARGET_PRODUCT = RadialGM IDE
QMAKE_TARGET_DESCRIPTION = ENIGMA Development Environment
QMAKE_TARGET_COPYRIGHT = "Copyright \\251 2007-2018 ENIGMA Dev Team"

# Uncomment if you want QPlainTextEdit used in place of QScintilla
CONFIG += rgm_disable_syntaxhighlight
# Uncomment if you want QScintilla
#CONFIG += rgm_enable_syntaxhighlight

rgm_disable_syntaxhighlight {
SOURCES += Widgets/CodeWidgetPlain.cpp
} else {
rgm_enable_syntaxhighlight {
SOURCES += Widgets/CodeWidgetScintilla.cpp
CONFIG += qscintilla2
} else {
SOURCES += Widgets/CodeWidgetPlain.cpp
}

# we do this even in release mode for "Editor Diagnostics"
Expand Down

0 comments on commit 6d626d7

Please sign in to comment.