QsciLexerOctave is missing keyword 'end_try_catch'.
Patch is attached with added keyword - let me know if I need to format it differently.

Thanks





diff -urp QScintilla-gpl-2.8.1-snapshot-194a2142c9b6.orig/Qt3/qscilexeroctave.cpp QScintilla-gpl-2.8.1-snapshot-194a2142c9b6/Qt3/qscilexeroctave.cpp
--- QScintilla-gpl-2.8.1-snapshot-194a2142c9b6.orig/Qt3/qscilexeroctave.cpp	2013-12-07 12:41:01.000000000 -0500
+++ QScintilla-gpl-2.8.1-snapshot-194a2142c9b6/Qt3/qscilexeroctave.cpp	2013-12-07 12:43:24.000000000 -0500
@@ -61,7 +61,7 @@ const char *QsciLexerOctave::keywords(in
 {
     if (set == 1)
         return
-            "break case catch continue do else elseif end end_unwind_protect "
+            "break case catch continue do else elseif end end_try_catch end_unwind_protect "
             "endfor endfunction endif endswitch endwhile for function "
             "global if otherwise persistent return switch try until "
             "unwind_protect unwind_protect_cleanup while";
diff -urp QScintilla-gpl-2.8.1-snapshot-194a2142c9b6.orig/Qt4Qt5/qscilexeroctave.cpp QScintilla-gpl-2.8.1-snapshot-194a2142c9b6/Qt4Qt5/qscilexeroctave.cpp
--- QScintilla-gpl-2.8.1-snapshot-194a2142c9b6.orig/Qt4Qt5/qscilexeroctave.cpp	2013-12-07 12:41:01.000000000 -0500
+++ QScintilla-gpl-2.8.1-snapshot-194a2142c9b6/Qt4Qt5/qscilexeroctave.cpp	2013-12-07 12:44:19.000000000 -0500
@@ -61,7 +61,7 @@ const char *QsciLexerOctave::keywords(in
 {
     if (set == 1)
         return
-            "break case catch continue do else elseif end end_unwind_protect "
+            "break case catch continue do else elseif end end_try_catch end_unwind_protect "
             "endfor endfunction endif endswitch endwhile for function "
             "global if otherwise persistent return switch try until "
             "unwind_protect unwind_protect_cleanup while";
_______________________________________________
QScintilla mailing list
[email protected]
http://www.riverbankcomputing.com/mailman/listinfo/qscintilla

Reply via email to