Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Whenever I open a *.log file with SciTE, I then click to change the language to "errorlist". I have searched to try to find how to configure SciTE to automatically associate this style with the extension, but have had no success. There's a lot of information about how to write your own lexer, but not much on how to use an existing one.

share|improve this question
add comment

1 Answer

This is what I did to associate *.lib files to cpp lexer:

I added the lines

file.patterns.cplusplus=$(file.patterns.cplusplus);*.lib
lexer.$(file.patterns.cplusplus)=cpp

to the User properties file.

cpp in the second line refers to the file "cpp.properties". (And file.patterns.cplusplus is one of the patterns defined in that file.)

I dont know which file corresponds to the Errorlist language, you can look for it in the Menu:

Options -> Edit Properties
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.