
Search found 6 matches
- 16 Oct 2024 18:59
- Forum: Syntax files
- Topic: Help defining a custom syntax file
- Replies: 10
- Views: 8650
- 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...
- 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?
But why is this? Does the # tell RJ TextEd that what follows has to be interpreted as a regex instead of a literal string?
- 15 Oct 2024 18:57
- Forum: Syntax files
- Topic: Help defining a custom syntax file
- Replies: 10
- Views: 8650
- 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.
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.

- 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...