Default lexer

Postby iferius » 06.07.2017 09:59

Hey there!

I've recently started using SynWrite for its great lexer features, and I've created a lexer to highlight the logs I look at daily. (still working on it - I have some great ideas for improvement using the tree view)

Now my problem is that I always open my log.txt, get to the lexer menu (which I've added to the top bar as I couldn't find it anywhere else) and select my lexer; I would like the program to start with this lexer active by default. Is there a way to do this?
iferius
 
Posts: 6
Joined: 30.06.2017 08:57

Postby Alexey » 06.07.2017 13:10

Yes, in the Options dialog, "New/open" part, there's option "Lexer".
Alexey
 
Posts: 611
Joined: 05.10.2012 22:10

Postby iferius » 06.07.2017 13:30

Found it, thanks! I must have missed it when I was looking through the options.
iferius
 
Posts: 6
Joined: 30.06.2017 08:57

Postby Alexey » 06.07.2017 14:23

Btw. In CudaText you can assign lexer to "log.txt":
http://wiki.freepascal.org/CudaText#File-types_config
Alexey
 
Posts: 611
Joined: 05.10.2012 22:10


Return to General - SynWrite

Who is online

Users browsing this forum: No registered users and 1 guest

cron