Post reply

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.
Name:
Email:
Subject:
Message icon:

Verification:
Type the letters shown in the picture
Listen to the letters / Request another image

Type the letters shown in the picture:
What is the last letter in the word "SlickEdit":
How many LETTERS are in the following? "a1b2c3":
Which number is missing?  "12345689":

shortcuts: hit alt+s to submit/post or alt+p to preview


Topic Summary

Posted by: jporkkahtc
« on: May 24, 2021, 09:21:20 PM »

DEFs window is great for languages that slick knows - it automatically tags functions, variables, etc.
What about log files, or other files that slick doesn't know?

UserDefs would "tag" based on user supplied regexs.
For example:
Code: [Select]
Tag         Level   RegEx (perl)     
Header      1       ^\o:v
SubHeader   2       ^( +)\o:v
Error       -       (?i:ERROR:)

This doesn't need to be as full featured as Defs is, but some basic regex matching would be great.
Ideally, this would tie into "List Current Context" in Find as well :-)


Hm... you could make an error browser by populating USERDEFS with the error parsing regexs.

USERDEFS would have to support selecting between different sets of expressions (for different filetypes). I don't know if slick could automatically detect the right userdefs configuration - sometimes it probably could.