Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RGM Enable Syntax Highlight #93

Merged
merged 2 commits into from
Mar 7, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
# Comment out if you want QPlainTextEdit used in place of QScintilla
RobertBColton marked this conversation as resolved.
Show resolved Hide resolved
#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