Lexer for Flutter framework, ie Dart lexer

All questions regarding lexer highlighting schemes are discussed here...
Post Reply
ertank
Posts: 61
Joined: 06.06.2021 21:56

Lexer for Flutter framework, ie Dart lexer

Post by ertank »

Hello,

I tried to follow TutorialLexer1.odt file instructions. It seems to be written for SynWrite and menus like "Options -- Customize lexer library" does not exists under CudaText. It does not exists under Options -> Lexer -> ..." either.

Is it possible to build a new lexer using CudaText, or I need to install SynWrite for that matter?

For the record, I have never prepared a lexer file in my life before. I just wanted to try to help a friend who uses flutter for developing his applications on MacOS.

Thanks & Regards,
Ertan
uvviewsoft
Posts: 392
Joined: 01.12.2020 13:46

Post by uvviewsoft »

You must install Synwrite, only Synwrite has the Lexer-config dialog. Menu item "options / customize lexer".
uvviewsoft
Posts: 392
Joined: 01.12.2020 13:46

Post by uvviewsoft »

And.... Flutter uses the Dart lang? and we have that lexer!
ertank
Posts: 61
Joined: 06.06.2021 21:56

Post by ertank »

I don't know Flutter myself. So, I take your word on it. Problem is, I cannot see and D letter for lexer selection popup.
Attachments
Capture.JPG
uvviewsoft
Posts: 392
Joined: 01.12.2020 13:46

Post by uvviewsoft »

You should go to 'plugins / addon manager / install' and find there the Dart lexer, and install it.
Post Reply