# HG changeset patch # User John D # Date 1514917645 18000 # Node ID 9c7b4337da98205bbcd928ede831daa05f66e141 # Parent 5697e2dfdb7ee656534ad186e3ba6e956197bb76 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 diff -r 5697e2dfdb7e -r 9c7b4337da98 dist-files.mk --- 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 \ diff -r 5697e2dfdb7e -r 9c7b4337da98 src/qscintilla-4-matlab-while-fold.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 ||