From d5851e995363e6f637a5f35cafe3ddaf8934705a Mon Sep 17 00:00:00 2001 From: _ov4 Date: Wed, 14 Oct 2026 02:52:07 +0000 Subject: feat(plugin): highlight exception keywords with C++ scopes Reuse C++ try, catch and throw scopes for exception keywords, with ENDTRY sharing the TRY scope. Add an example and verify keyword boundaries, case sensitivity, comments and strings with TextMate tokenization. Co-Authored-By: Claude Fable 5.1 --- plugin/examples/highlighting.cps | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'plugin/examples') diff --git a/plugin/examples/highlighting.cps b/plugin/examples/highlighting.cps index 9925bf3..7b30bb7 100644 --- a/plugin/examples/highlighting.cps +++ b/plugin/examples/highlighting.cps @@ -39,3 +39,9 @@ ENDPROCEDURE OPENFILE "example.txt" FOR WRITE WRITEFILE "example.txt", Text CLOSEFILE "example.txt" + +TRY + THROW +CATCH + OUTPUT "Caught an exception" +ENDTRY -- cgit v1.3.1-4-g156e