Old 12-27-2013, 01:56 PM   #1
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 6,798
Default Walter - Syntax Highlighting Colors for Notepad ++

I just made an UDL file (User Define Language] for Walter (rtconfig.txt) in Notepad ++

This way you can have a clear syntax highlighting to edit your theme very ergonomicly

I personally use the Blackboard Theme, so, the backgrounds are set to the color of that dark theme, but you can edit the UDL file to match your theme. You just have to edit the language file :P
EDIT : i just add a style for white default theme in the .zip

I don't know if i made it very semanticly but it seems to works like a charm :P



You can download my file here :
https://stash.reaper.fm/v/19339/ReaperUDL.zip
Then, in Notepad ++, choose language, user, and import it in your config
Note : A reboot of Notepad ++ can be necessary after importing the UDL files. Then, open you rtconfig.txt file and choose Language : Reaper.

For those who don't want to download the file, you can have a nice synthax highlighting with the Assembler language, but it's is not Walter Specific, so it's not perfect :P

Hope you'll like it !

Last edited by X-Raym; 12-28-2013 at 07:22 PM.
X-Raym is offline   Reply With Quote
Old 12-27-2013, 01:59 PM   #2
ReaDave
Human being with feelings
 
ReaDave's Avatar
 
Join Date: Mar 2010
Location: Adelaide, South Australia (originally from Geelong)
Posts: 5,533
Default

I use Notepad++ for all my WALTERing so I've just downloaded this and will give it a shot.
ReaDave is offline   Reply With Quote
Old 12-27-2013, 02:02 PM   #3
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 6,798
Default

don't hesitate to edit it

i colored differently numbers, operation signs, tcp - mcp - trans - envcp - master, [], theme names, commment etc...

once again, you have to used Blackboard Theme to see it nicely without make any changes.
X-Raym is offline   Reply With Quote
Old 12-27-2013, 02:05 PM   #4
karbomusic
Human being with feelings
 
karbomusic's Avatar
 
Join Date: May 2009
Posts: 26,793
Default

I don't even edit themes and I'm downloading it in case I need to.
__________________
Music is what feelings sound like.
karbomusic is offline   Reply With Quote
Old 12-27-2013, 02:06 PM   #5
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 6,798
Default

it can be a good start in theme editing
X-Raym is offline   Reply With Quote
Old 12-27-2013, 03:48 PM   #6
Ron_Paul
Human being with feelings
 
Ron_Paul's Avatar
 
Join Date: Feb 2013
Posts: 123
Default

Oh wow. This is extremely useful. Thank you.
Ron_Paul is offline   Reply With Quote
Old 12-28-2013, 10:43 AM   #7
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 6,798
Default

You are welcome

Hope it works for you :P
X-Raym is offline   Reply With Quote
Old 12-28-2013, 12:24 PM   #8
WolfJames
Human being with feelings
 
WolfJames's Avatar
 
Join Date: Feb 2009
Location: Nashville, TN
Posts: 203
Default

Quote:
Originally Posted by DoomLike View Post
I just made an UDL file (User Define Language] for Walter (rtconfig.txt) in Notepad ++

This way you can have a clear syntax highlighting to edit your theme very ergonomicly

...
Hope you'll like it !
Nice.
WolfJames is offline   Reply With Quote
Old 12-28-2013, 12:51 PM   #9
hwhalen
Human being with feelings
 
hwhalen's Avatar
 
Join Date: Jan 2010
Location: Canada
Posts: 959
Default

Fantastic...I'd never heard of notepad++ so this is a big improvement for me.
Been using standard notepad.

Thanx DoomLike.
__________________
My Music
Noise From My Head
On The Links
hwhalen is offline   Reply With Quote
Old 12-28-2013, 02:51 PM   #10
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 6,798
Default

Thank you all !

Because you feel very interested, i just add an UDL file for white (default) background
but i strongly recommend you to use the dark one (with the Blackboard Theme in Notepad ++), your eyes will be less tired

i also add the .xml extension.

A reboot of Notepad ++ can be necessary after importing the UDL files.
X-Raym is offline   Reply With Quote
Old 12-28-2013, 07:06 PM   #11
yimbot
Human being with feelings
 
Join Date: Sep 2008
Location: Adelaide, Australia
Posts: 136
Default

Thanks DoomLike,

Downloaded the file and it comes as "Reaper" with no extension. Tried putting .xml, but it fails to import under Language>Define Your Language>Import - any ideas?
yimbot is offline   Reply With Quote
Old 12-28-2013, 07:17 PM   #12
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 6,798
Default

hmmm effectively, the file extension updated i will recreate an entry for that file.
EDIT : Here it is https://stash.reaper.fm/v/19339/ReaperUDL.zip

The new UDL files have .xml extensions.

Import are usually effective after restarting notepad ++.
It will now appears in your language panel at the bottom.
If it doesn't work, try to import, and then save to an other name.

Still in trouble ? Have you pop up message or something ?

Last edited by X-Raym; 12-28-2013 at 07:26 PM.
X-Raym is offline   Reply With Quote
Old 12-29-2013, 12:27 AM   #13
yimbot
Human being with feelings
 
Join Date: Sep 2008
Location: Adelaide, Australia
Posts: 136
Default

That's got 'im. Nice one - Cheers - thanks for the effort!
yimbot is offline   Reply With Quote
Old 12-29-2013, 02:49 AM   #14
filter303
Human being with feelings
 
filter303's Avatar
 
Join Date: May 2007
Location: Helsinki
Posts: 57
Default

I just finished my theme using your syntax and it proved to be very useful indeed. I found some typos that I would have missed otherwise. I can't believe I have used the regular notepad for Waltering before. Your syntax and Notepad ++ makes things a little bit easier.

Thank you!!!
filter303 is offline   Reply With Quote
Old 12-29-2013, 05:35 AM   #15
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 6,798
Default

I'm so glad it works and you like it
if you are new to Notepas ++, it will not make theming a little easier but A LOT. Syntax highlighting is good, but Document Map, Line Number, Replace window overlay and results highlight, Compare documents function, side by side view, indentation of selected text and a few more things can save you a lot of time a make theme coding really fun
X-Raym is offline   Reply With Quote
Old 12-29-2013, 01:01 PM   #16
ReaDave
Human being with feelings
 
ReaDave's Avatar
 
Join Date: Mar 2010
Location: Adelaide, South Australia (originally from Geelong)
Posts: 5,533
Default

I must say, I have taken a real liking to the blackboard version of this. In fact, I think I'll start using blackboard for all my NotePad++ stuff now too. It is indeed much better on the eyes.

Nice work DoomLike. Much appreciated.
ReaDave is offline   Reply With Quote
Old 12-29-2013, 01:54 PM   #17
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 6,798
Default


I spend years with the default theme before i found that theme, and i use it to all my notepad ++ project too

Nice to be useful
X-Raym is offline   Reply With Quote
Old 12-29-2013, 03:32 PM   #18
GaryG
Human being with feelings
 
Join Date: Apr 2009
Posts: 57
Default

Very useful, cheers.
GaryG is offline   Reply With Quote
Old 12-29-2013, 09:08 PM   #19
axel_ef
Human being with feelings
 
axel_ef's Avatar
 
Join Date: Jan 2007
Location: Erfurt
Posts: 596
Default OSX rtconfig Editor

here an rtconfig editor for osx

Download RTConfig OSX

Last edited by axel_ef; 01-29-2015 at 05:12 AM.
axel_ef is offline   Reply With Quote
Old 12-30-2013, 05:05 AM   #20
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 6,798
Default osx rtconfig editor

oh ! good to see that OSX users have an alternative.
i didn't know that editor, is it based on something else ?
what particular functions except syntax highlighting and 'go to' buttons have a dedicated software to offer ?
Sad notepad ++ doesn't exist on mac.
X-Raym is offline   Reply With Quote
Old 12-30-2013, 10:07 AM   #21
hopi
Human being with feelings
 
hopi's Avatar
 
Join Date: Oct 2008
Location: Right Hear
Posts: 15,450
Default

thanks much DoomLike... very handy
__________________
...should be fixed for the next build... http://tinyurl.com/cr7o7yl
https://soundcloud.com/hopikiva
hopi is offline   Reply With Quote
Old 12-30-2013, 02:48 PM   #22
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 6,798
Default



Because you seem to apreciate that UDL file, i decided to make one other, for the .ReaperLangPack

Here is the thread about it

Thanks to all !
X-Raym is offline   Reply With Quote
Old 01-02-2014, 02:44 PM   #23
MRT
Human being with feelings
 
Join Date: Aug 2009
Posts: 74
Default

Just wanted to add my thanks for posting this. After using it a bit Walter is actually starting to make sense.
MRT is offline   Reply With Quote
Old 01-02-2014, 04:23 PM   #24
tanga
Human being with feelings
 
Join Date: May 2009
Posts: 28
Default

Merci Beaucoup X-Raym!
tanga is offline   Reply With Quote
Old 01-02-2014, 06:41 PM   #25
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 6,798
Default

@MRT : yes with the good colors and semantic separation, all that blabla appears clear
@Tanga : Derien derien, ça me fait plaisir
X-Raym is offline   Reply With Quote
Old 01-29-2015, 05:19 AM   #26
axel_ef
Human being with feelings
 
axel_ef's Avatar
 
Join Date: Jan 2007
Location: Erfurt
Posts: 596
Default Update OSX

OSX 10.6 -> 10.10

Download RTConfig OSX

axel_ef is offline   Reply With Quote
Old 09-02-2015, 07:00 AM   #27
Icchan
Human being with feelings
 
Icchan's Avatar
 
Join Date: Dec 2011
Location: Finland
Posts: 673
Default

Is there a need to update this for the v5?
Icchan is offline   Reply With Quote
Old 09-02-2015, 07:30 AM   #28
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 6,798
Default

@Icchan
Not really, there is some new keywords but they don't need any color to be easily seen
X-Raym is offline   Reply With Quote
Old 09-02-2015, 04:59 PM   #29
Lokasenna
Human being with feelings
 
Lokasenna's Avatar
 
Join Date: Sep 2008
Location: Calgary, AB, Canada
Posts: 6,551
Default

Question: I tried to add code folding to this, using Layout and EndLayout as the keywords, but on the Default 5 theme's rtconfig it puts the folding points on the wrong lines.

If I type a new set of "Layout" and "EndLayout" myself, it works properly - only White Tie's existing WALTER breaks it.

Any guesses as to why this might happen?
__________________
I'm no longer using Reaper or working on scripts for it. Sorry. :(
Default 5.0 Nitpicky Edition / GUI library for Lua scripts / Theory Helper / Radial Menu / Donate
Lokasenna is offline   Reply With Quote
Old 09-02-2015, 05:04 PM   #30
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 6,798
Default

@Lokasenna
Not at all sorry !
X-Raym is offline   Reply With Quote
Old 02-17-2017, 12:17 AM   #31
Luster
Human being with feelings
 
Luster's Avatar
 
Join Date: Nov 2015
Posts: 591
Default

Hello,

for text editing I found the solarized theme to be the one for me. For more details about the colour scheme:
http://ethanschoonover.com/solarized

So I edited your UDL file to be compatible with the solarized-light theme in Notepad++

Attached as zip. Have fun.
Attached Files
File Type: zip Walter solarized.zip (1.1 KB, 140 views)

Last edited by Luster; 02-17-2017 at 03:20 AM. Reason: emphazed that I mean the light theme
Luster is offline   Reply With Quote
Old 04-07-2018, 08:52 PM   #32
D Rocks
Human being with feelings
 
Join Date: Dec 2017
Location: Quebec, Canada
Posts: 548
Default

merci Raymond!

thank you...
I was always getting problems with other programs to edit configs and also couldnt understand because it was all black text. Thanks alot!
__________________
Alex | www.drocksrecords.com | Thanks for REAPER
D Rocks is offline   Reply With Quote
Old 04-09-2018, 03:05 AM   #33
DynamicK
Human being with feelings
 
Join Date: Nov 2017
Location: Gloucestershire, UK
Posts: 223
Default

Thanks..just starting to mod some existing themes, so very useful.
DynamicK is offline   Reply With Quote
Old 04-10-2018, 02:06 AM   #34
Vagalume
Human being with feelings
 
Join Date: Nov 2015
Posts: 481
Default

Thanks X-Raym so much this is reallly useful and helpful for all of us, perhaps personally I would like something less dark. Anyway thanks for sharing !!
Is it possible to tell us how to edit the theme?
Vagalume is offline   Reply With Quote
Old 04-10-2018, 12:44 PM   #35
D Rocks
Human being with feelings
 
Join Date: Dec 2017
Location: Quebec, Canada
Posts: 548
Default

Thanks !
__________________
Alex | www.drocksrecords.com | Thanks for REAPER
D Rocks is offline   Reply With Quote
Old 04-11-2018, 01:10 PM   #36
Vagalume
Human being with feelings
 
Join Date: Nov 2015
Posts: 481
Default

Really cool, I finally was able to edit it myself ... thanks for the tricks too !!!
Vagalume is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 12:20 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.