Suggestion Class, function and method highlighting

Rob Hewitt

Active member
Tutorial Author
Joined
Aug 30, 2017
Messages
105
Hi,

Is it possible to add a feature to Ted to highlight class, function and method names? I know it would be difficult if these are included e.g. mojo but it would be helpful.

Or if not a way of adding words to a locally stored highlight list? e.g. I could then add DrawImage and it would always highlight and even my own proptext method.

Or is this a bit silly? ;-)
 

Holzchopf

Moderator
3rd Party Module Dev
Tutorial Author
Joined
Jul 31, 2017
Messages
496
It's not silly. But it's quite a lot of work to implement this properly. For example it makes only sense to highlight Method names when they're actually accessible, meaning what's before the "." is an instance of the class with that method. So TED would have to parse the code and know which variable is of what type. Doable, but not easy. Mike is working on TED, but I can't see such a feature on the to-do list.
 

Rob Hewitt

Active member
Tutorial Author
Joined
Aug 30, 2017
Messages
105
What about the second idea, a personal list of words to highlight? Ted could just highlight it whenever the word shows and is not commented and that way we can add our own.
 
Top Bottom