+Gemintronic Posted February 9, 2021 Share Posted February 9, 2021 Been inspecting and modifying examples provided in JagStudio with just a simple text editor. The guide recommends (as far as my rotted brain understands) to use the built in BASIC syntax in Notepad++. But, I remember omf made a rB+ syntax highlighting file awhile back.. ..is that no longer compatible? Seems understandable given the changes to the newer Raptor API. Quote Link to comment Share on other sites More sharing options...
Sporadic Posted February 9, 2021 Share Posted February 9, 2021 OMFs syntax highlighter will need the commands updated within as they have been renamed. If that's done, then there's no reason why it wouldn't work. 1 Quote Link to comment Share on other sites More sharing options...
Sporadic Posted February 9, 2021 Share Posted February 9, 2021 I'm going to try and update omfs syntax script today. I'll post it here when done 1 2 Quote Link to comment Share on other sites More sharing options...
Sporadic Posted February 9, 2021 Share Posted February 9, 2021 Here's an updated style file. It should work with dark or light background colours. Thanks to @omf for providing the original file and for his permission to include it with future releases. Please note: this might not work on a Notepad++ version higher than 7.9.1 as they may have changed the format. I'll look into that another time. Instructions; 1. Open Notepad++ 2. Click the "Language" menu, then "Define your language..." 3. At the top of the pop-up click "Import..." 4. Browse to where you saved the JagStudio NP++ Syntax.xml file and double click it to open. 5. It should pop up to say "Import Successful" - click ok. 6. Close and reopen Notepad++ 7. With a .bas file open, click the "Language" menu again and at the bottom you should now see "JagStudio" listed. Select it. You should now see that all your .bas files contain pretty colours. If you don't like any of the colours; 1. Click the "Language" menu, then "Define your language..." 2. At the top in the "User Language" drop down, choose "JagStudio". 3. In the tabs below that, find the section for the items you want to change and click the "Styler" button. 4. In the Styler, you can pick a new foreground text colour. 5. To ensure your text looks correct against a light or dark background you should right click on the "Background Colour" so you see diagonal lines through it. This will make the text background transparent. JagStudio NP++ Syntax.xml EDIT: I might tweak some of the colours myself at some point, make things a bit more uniform. 1 2 Quote Link to comment Share on other sites More sharing options...
+Gemintronic Posted February 9, 2021 Author Share Posted February 9, 2021 Imported the updated language file and opened an example .BAS project without error. Used the PortableApps version of Notepad++ and put that in the JagStudio folder. It deserves its own copy https://portableapps.com/apps/development/notepadpp_portable 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.