From 7b0162cc3ba75dbfcd35cc89600d7cd6e3ff6d2c Mon Sep 17 00:00:00 2001 From: Randy Hollines Date: Sat, 17 Feb 2024 08:13:13 -0800 Subject: [PATCH] syntax support for new 'within' keyword for 'each' loops --- docs/syntax/geany/filetypes.Objeck.conf | 2 +- docs/syntax/lite-xl/language_objeck.lua | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/syntax/geany/filetypes.Objeck.conf b/docs/syntax/geany/filetypes.Objeck.conf index f9f4d08a8a..3a2c896ac1 100644 --- a/docs/syntax/geany/filetypes.Objeck.conf +++ b/docs/syntax/geany/filetypes.Objeck.conf @@ -4,7 +4,7 @@ [keywords] # all items must be in one line -primary=class method function public abstract private static native virtual Parent As from implements interface enum alias consts bundle use leaving if else do while select break continue other for each reverse label return critical New and or xor true false +primary=class method function public abstract private static native virtual Parent As from implements interface enum alias consts bundle use leaving if else do while within select break continue other for each reverse label return critical New and or xor true false secondary=Nil Byte ByteRef Int IntRef Float FloatRef Char CharRef Bool BoolRef String BaseArrayRef BoolArrayRef ByteArrayRef CharArrayRef FloatArrayRef IntArrayRef StringArrayRef Func2Ref Func3Ref Func4Ref FuncRef [lexer_properties=C] diff --git a/docs/syntax/lite-xl/language_objeck.lua b/docs/syntax/lite-xl/language_objeck.lua index a2361c3479..3bfb55203a 100644 --- a/docs/syntax/lite-xl/language_objeck.lua +++ b/docs/syntax/lite-xl/language_objeck.lua @@ -47,6 +47,7 @@ syntax.add { ["else"] = "keyword", ["do"] = "keyword", ["while"] = "keyword", + ["within"] = "keyword", ["select"] = "keyword", ["break"] = "keyword", ["continue"] = "keyword",