How to set "Font Name" for specific language?
-
Hello dear friends!
I have lexer called
AutoHotkey Black.xmlI’ve set up keyword fonts for him.…Language > User Defined Language > Define your language… > Comment & Number > Comment line style > Font Options:
Name: Consolas
Size: 7
Foreground color: #71AE71…and also examples:
… > > > Keywords Lists > 2nd group:
Name: Trebuchet MS
Size: 10
Foreground color: #0060FF… > > > Keywords Lists > 4nd group:
Name: Fira Code
Size: 8
Foreground color: #808000However, there may be other different text in the file and it looks lousy because there is no font installed for them!
That’s how it’s gonna work out:menu > Settings > Style Configurator… > Font Style > Trebuchet MS
But the font is set for all languages globally! In this window I don’t have language as
AutoHotkey:

!! I want the font to apply to the whole code except for keywords. Any ideas on how to solve the problem?
-
@Сергей-Друзь said in How to set "Font Name" for specific language?:
I want the font to apply to the whole code except for keywords. Any ideas on how to solve the problem?
If I understand correctly, then don’t mess with global styles.
Define your DEFAULT style of the UDL LANGUAGE
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login