From fe9c9cc77d2b76d0044dfb74db5206d4f1ba84cf Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Wed, 7 Aug 2024 09:38:10 -0400 Subject: [PATCH] fix highlighting bug and add geturl --- tools/lammps-gui/highlighter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/lammps-gui/highlighter.cpp b/tools/lammps-gui/highlighter.cpp index d6c1102285..3f79c7a73e 100644 --- a/tools/lammps-gui/highlighter.cpp +++ b/tools/lammps-gui/highlighter.cpp @@ -23,7 +23,7 @@ Highlighter::Highlighter(QTextDocument *parent) : "thermo|print|thermo_style|" "timer|pair_write|bond_write|angle_write|dihedral_write)\\s+(\\S+)")), isOutput2(QStringLiteral("^\\s*(write_dump|shell|thermo_modify)\\s+(\\S+)\\s+(\\S+)")), - isRead(QStringLiteral("^\\s*(include|read_restart|read_data|read_dump|molecule)")), + isRead(QStringLiteral("^\\s*(include|read_restart|read_data|read_dump|molecule|geturl)\\s+(\\S+)")), isStyle(QStringLiteral("^\\s*(fix|compute|dump)\\s+(\\S+)\\s+(\\S+)\\s+(\\S+)")), isForce(QStringLiteral( "^\\s*(pair_style|bond_style|angle_style|dihedral_style|improper_style|kspace_style|pair_"