One more font color option for dark background in editor

Something you want to see in a LiveCode product? Want a new forum set up for a specific topic? Talk about it here.

Moderators: Klaus, FourthWorld, heatherlaine, robinmiller, kevinmiller

Post Reply
redfield
Posts: 25
Joined: Thu Apr 04, 2019 1:41 pm

One more font color option for dark background in editor

Post by redfield » Sat May 04, 2019 8:26 am

I'm just wondering if there would be a possibility of adding another font colorization option for the editor, to use with very dark editor backgrounds? I changed the background to black but then the variables are not readable any longer and the two given choises 'Revolution classic' and 'Default' don't do the trick.

colors.png
colors.png (7.67 KiB) Viewed 359 times

bogs
Posts: 3287
Joined: Sat Feb 25, 2017 10:45 pm

Re: One more font color option for dark background in editor

Post by bogs » Sat May 04, 2019 11:50 am

This question does come up from time to time, luckily -hh came up with (what I believe) is a near perfect solution.

It is fast, easy to implement, and works every time far as I can tell.
Image

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 6599
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: One more font color option for dark background in editor

Post by FourthWorld » Sat May 04, 2019 5:42 pm

The colors are specified in a list somewhere in the IDE. I don't recall where offhand, but it shouldn't take too much sleuthing find them.

A tool for making custom Editor themes might make a nice afternoon project.
Richard Gaskin
Community volunteer LiveCode Community Liaison

LiveCode development, training, and consulting services: Fourth World Systems: http://FourthWorld.com
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/

bogs
Posts: 3287
Joined: Sat Feb 25, 2017 10:45 pm

Re: One more font color option for dark background in editor

Post by bogs » Sat May 04, 2019 6:28 pm

FourthWorld wrote:
Sat May 04, 2019 5:42 pm
The colors are specified in a list somewhere in the IDE. I don't recall where offhand, but it shouldn't take too much sleuthing find them.
They are right in the script editor template script, in the first link I put Paul points them out (a few posts down the page here https://forums.livecode.com/viewtopic.p ... 54#p113439).
FourthWorld wrote:
Sat May 04, 2019 5:42 pm
A tool for making custom Editor themes might make a nice afternoon project.
The 2nd link I posted include links to others projects such as SETH (script editor themer by Andy P., shaosean's handy attempt which was quite intriguing, and of course Hermann's little script and links to it. As well, there is the sts plugin, which allows you to use a completely different editor of your choosing, such as sublime text or atom or bbedit or any number of others.
Image

Post Reply

Return to “Feature Requests”