changeset 4587:9c7b4337da98

add qscintilla while foldpoint patch (bug #52659) * src/qscintilla-4-matlab-while-fold.patch: new file * dist-files.mk: add ref to qscintilla-4-matlab-while-fold.patch
author John D
date Tue, 02 Jan 2018 13:27:25 -0500
parents 5697e2dfdb7e
children 8e3d19871738
files dist-files.mk src/qscintilla-4-matlab-while-fold.patch
diffstat 2 files changed, 12 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/dist-files.mk	Thu Dec 21 12:57:37 2017 -0500
+++ b/dist-files.mk	Tue Jan 02 13:27:25 2018 -0500
@@ -577,6 +577,7 @@
   qscintilla-1-fixes.patch \
   qscintilla-2-matlab-block-comment.patch \
   qscintilla-3-matlab-end-op.patch \
+  qscintilla-4-matlab-while-fold \
   qscintilla.mk \
   qt-1-cherrypicks.patch \
   qt-2-shared-tools-fixes.patch \
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/qscintilla-4-matlab-while-fold.patch	Tue Jan 02 13:27:25 2018 -0500
@@ -0,0 +1,11 @@
+diff -ur QScintilla_gpl-2.10.2.orig/lexers/LexMatlab.cpp QScintilla_gpl-2.10.2/lexers/LexMatlab.cpp
+--- QScintilla_gpl-2.10.2.orig/lexers/LexMatlab.cpp	2018-01-02 08:15:29.183313917 -0500
++++ QScintilla_gpl-2.10.2/lexers/LexMatlab.cpp	2018-01-02 08:16:40.754287756 -0500
+@@ -62,6 +62,7 @@
+ 	if (strcmp ("if", str) == 0 ||
+ 		strcmp ("for", str) == 0 ||
+ 		strcmp ("switch", str) == 0 ||
++		strcmp ("while", str) == 0 ||
+ 		strcmp ("try", str) == 0 ||
+ 		strcmp ("do", str) == 0 ||
+ 		strcmp ("parfor", str) == 0 ||