Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 14:13 07 Jul 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : NotePad++ Language file.

Author Message
Phil23
Guru

Joined: 27/03/2016
Location: Australia
Posts: 1667
Posted: 12:39am 05 Jul 2016
Copy link to clipboard 
Print this post

Had a little play about with defining a language in NotePad++ a little while ago.

A bit of the colour code is working, numbers are working in certain instances.

Subs, Functions & Do loops can be collaped.

Can't figure how to handle IF statements yet though.

To use it, go to Language - Define your Language & import the XML file.

I don't want a replacement for MMedit, just somewhere to have other files open.

Nice thing is NP++ will recognise when an open file has changed & ask if you want to reload it.

Also attached some old code where you can see what works & what doesn't.

Cheers

Phil.

2016-07-05_103742_MMbasic_Language__File.zip

2016-07-05_103854_Ceiling_Heat_Controller.zip



 
kiiid

Guru

Joined: 11/05/2013
Location: United Kingdom
Posts: 671
Posted: 12:58am 05 Jul 2016
Copy link to clipboard 
Print this post

Aaah... I've been hoping for this to happen in a while. NP++ is my main editor. Thanks a lot!
http://rittle.org

--------------
 
Phil23
Guru

Joined: 27/03/2016
Location: Australia
Posts: 1667
Posted: 01:28am 05 Jul 2016
Copy link to clipboard 
Print this post

Have a look under define your language at the "Folder & Defaults" tab.

That's where I put "DO", "SUB" & "FUNCTION".

Can't figure out how to setup IF though.

Phil.
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025