Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER Feature Requests

Reply
 
Thread Tools Display Modes
Old 05-11-2023, 01:34 PM   #1
Buy One
Human being with feelings
 
Buy One's Avatar
 
Join Date: Sep 2019
Posts: 1,146
Default Code syntax highlighting options for posts formatting

Would be useful to have color schemes for the coding languages commonly associated with REAPER included among the post formatting tools. PHP scheme isn't very useful.
Buy One is offline   Reply With Quote
Old 05-11-2023, 02:19 PM   #2
cfillion
Human being with feelings
 
cfillion's Avatar
 
Join Date: May 2015
Location: Québec, Canada
Posts: 4,968
Default

Here you go: https://gist.github.com/cfillion/7fd...28a9f0fd60b13b.

cfillion is offline   Reply With Quote
Old 05-14-2023, 10:06 AM   #3
smandrap
Human being with feelings
 
smandrap's Avatar
 
Join Date: Feb 2021
Location: Right here
Posts: 1,454
Default

Cool, how to use this?
smandrap is online now   Reply With Quote
Old 05-14-2023, 11:17 AM   #4
cfillion
Human being with feelings
 
cfillion's Avatar
 
Join Date: May 2015
Location: Québec, Canada
Posts: 4,968
Default

Install a userscript manager extension for your web browser and load the script into it. (I've tested with Greasemonkey on Firefox.)
cfillion is offline   Reply With Quote
Old 05-14-2023, 11:49 AM   #5
nofish
Human being with feelings
 
nofish's Avatar
 
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,110
Default

Can confirm it works fine with Violentmonkey/Firefox too. Thanks.
nofish is offline   Reply With Quote
Old 05-14-2023, 03:21 PM   #6
smandrap
Human being with feelings
 
smandrap's Avatar
 
Join Date: Feb 2021
Location: Right here
Posts: 1,454
Default

It works Thanks a lot, didn't know it was possible
smandrap is online now   Reply With Quote
Old 05-28-2023, 06:27 AM   #7
nofish
Human being with feelings
 
nofish's Avatar
 
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,110
Default

Small display glitch with the script running:



https://forum.cockos.com/showpost.ph...48&postcount=2
nofish is offline   Reply With Quote
Old 05-28-2023, 09:31 AM   #8
cfillion
Human being with feelings
 
cfillion's Avatar
 
Join Date: May 2015
Location: Québec, Canada
Posts: 4,968
Default

Thanks, fixed! (Already had a workaround for links color but it only worked for visited links...)
cfillion is offline   Reply With Quote
Old 05-28-2023, 01:43 PM   #9
nofish
Human being with feelings
 
nofish's Avatar
 
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,110
Default

Thanks.
nofish is offline   Reply With Quote
Old 02-07-2024, 01:41 PM   #10
nofish
Human being with feelings
 
nofish's Avatar
 
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,110
Default

@cfillion

Another case where it looks weird here:
https://forum.cockos.com/showthread.php?t=288065



Is this tweak-/fixable maybe?
nofish is offline   Reply With Quote
Old 02-07-2024, 08:49 PM   #11
cfillion
Human being with feelings
 
cfillion's Avatar
 
Join Date: May 2015
Location: Québec, Canada
Posts: 4,968
Default

Fixed in 1.0.2!

cfillion is offline   Reply With Quote
Old 02-08-2024, 07:11 AM   #12
nofish
Human being with feelings
 
nofish's Avatar
 
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,110
Default

Oh didn't notice. Thanks.
nofish 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 05:59 AM.


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