Search found 6 matches

by ags
16 Oct 2024 18:59
Forum: Syntax files
Topic: Help defining a custom syntax file
Replies: 10
Views: 8650

Re: Help defining a custom syntax file

Whoops! :shock:
by ags
16 Oct 2024 15:05
Forum: Syntax files
Topic: Help defining a custom syntax file
Replies: 10
Views: 8650

Re: Help defining a custom syntax file

Where is this documented? I could not find any info on this in the documentation. If RJ TextEd has capabilities beyond what is documented, it is a great loss. The manual should be updated. Especially with something so rare and useful like using regex to make a custom syntax highlighting file. Not ma...
by ags
16 Oct 2024 12:52
Forum: Syntax files
Topic: Help defining a custom syntax file
Replies: 10
Views: 8650

Re: Help defining a custom syntax file

Thanks pjj, starting a keyword group name with # works.

But why is this? Does the # tell RJ TextEd that what follows has to be interpreted as a regex instead of a literal string?
by ags
15 Oct 2024 18:57
Forum: Syntax files
Topic: Help defining a custom syntax file
Replies: 10
Views: 8650

Re: Help defining a custom syntax file

log_txt.zip
The file is not a zip, it is a syx. But it wouldn't let me upload until I changed it to zip.
(830 Bytes) Downloaded 223 times
by ags
15 Oct 2024 15:30
Forum: Syntax files
Topic: Help defining a custom syntax file
Replies: 10
Views: 8650

Re: Help defining a custom syntax file

Thanks for the reply, pjj.

I took your suggestion and defined my keyword as: \d{2}\.\d{2}\.\d{4} and saved the file.
The date's format is still not changed.
I made it purple and bold so that the difference can be clearly noticed. :)
by ags
14 Oct 2024 19:54
Forum: Syntax files
Topic: Help defining a custom syntax file
Replies: 10
Views: 8650

Help defining a custom syntax file

I have a custom syntax in a text file. I need to scan the file for certain strings with regular expressions. I used Tools - Syntax Editor to create and save a new syntax file. I defined a new Keyword group and a new keyword like this: \d\d.\d\d.\d\d\d\d (to find the date). I go to Environment - Them...