- improved handling of Custom theme attributes (#182) - fixed wrong color code in edit-kwrite.theme - added rng file mapping (#129) - improved Lisp highlighting - GUI: fixed highlighting options tab title (thanks to Craig) - renamed `std` style name to `def` - version and README updates - removed `extras/web_plugins` - added user-select default property to HTML line number style - revised color themes - added two more keyword styles for default themes - added Custom theme attributes for Plain TeX, LaTeX, SVG and Pango - enabled syntax message output with `--ls-syntax-error` - GUI: enabled syntax error checkbox - added Custom theme attribute - enabled inline stylesheets with `--ls-hover` - added Error and Hover theme properties - enabled syntax error highlighting with `ls-semantic` - improved LSP message handling - added delay LSP parameter - added LSP semantic token styles to base16 themes - renamed `str` style name to `sng` - CLI: enabled `--ls-semantic` option - GUI: enabled semantic checkbox and a server capability test - added support for the language server protocol - added new configuration file lsp.conf - CLI: added `ls-profile`, `--ls-workspace`,`--ls-hover` - CLI: deprecated `--start-nested`, `--reformat=user`, `--reformat-option`, `--base16`, `--delim-cr`, `--plug-in-read` - GUI: added LSP configuration tab - added `--syntax-supported` option
14 lines
397 B
C++
14 lines
397 B
C++
$NetBSD: patch-src_gui-qt_mainwindow.cpp,v 1.4 2021/05/13 14:06:10 schmonz Exp $
|
|
|
|
Use X11 on Darwin, like everywhere else.
|
|
|
|
--- src/gui-qt/mainwindow.cpp.orig 2021-05-10 17:47:34.000000000 +0000
|
|
+++ src/gui-qt/mainwindow.cpp
|
|
@@ -36,6 +36,7 @@ along with Highlight. If not, see <http
|
|
#include "io_report.h"
|
|
#include "syntax_chooser.h"
|
|
|
|
+#undef Q_OS_OSX
|
|
|
|
#ifdef Q_OS_WIN
|
|
#include <windows.h>
|