A darker Background editor ! Or more colors to the existing one.

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

teriibi
Posts: 254
Joined: Mon Nov 13, 2017 3:49 pm
Location: Bolivia

A darker Background editor ! Or more colors to the existing one.

Post by teriibi » Sat Jan 13, 2018 3:16 am

It´s one nec Step to have an editable color editor
that is more like Sublimetext...in the way that it offers more colors backgd+text.

Not only the Background color can be changed to adapt your needs but the fonts color too !!
... which makes sence.

Try to use a darker grey in the LC editor...with a Light grey font or an Orange functions fonts...
Its very Fancy for a fashion magazine...its not on a Coding monitor !
and you end up not seeing much of your code. :mrgreen: :roll:
Save the planet ! (and save my sight too)
Sans titre.png

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

Re: A darker Background editor ! Or more colors to the existing one.

Post by bogs » Sat Jan 13, 2018 3:34 am

I think this topic might appeal to you for what you are trying to do.
Image

teriibi
Posts: 254
Joined: Mon Nov 13, 2017 3:49 pm
Location: Bolivia

Re: A darker Background editor ! Or more colors to the existing one.

Post by teriibi » Sat Jan 13, 2018 1:03 pm

I had try this "super complicated way to go" before...
To see this stack you need to have the script editor open before you open the project browser.
Open the script of stack "revScriptEditor".
As soon as I select revNewScriptEditor Stack, All option from the Menu Object script - deactivate...
no way to see anything further...
:roll: :roll: :roll:

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

Re: A darker Background editor ! Or more colors to the existing one.

Post by bogs » Sat Jan 13, 2018 3:39 pm

Well, the directions he gave at the time were about the 6.x series, here is an alternate way to get to them in that series -
Image
The reason for warnings and copying or cloning things is so that if you goof, you don't blow up the whole shebang and have to reinstall.

In 8.x it is much the same thing -
Image

Again, I would pay heed to the warning at the top of the script, which is -
Image

Another possible way for you to do something like this is to clone the stack, make your changes, then use it as a plug in. I haven't tested that, though, so others that know better than I should chime in, as many of my ideas might not be correct or even feasible. Proceed at your own risk :mrgreen:
Image

teriibi
Posts: 254
Joined: Mon Nov 13, 2017 3:49 pm
Location: Bolivia

Re: A darker Background editor ! Or more colors to the existing one.

Post by teriibi » Sat Jan 13, 2018 4:20 pm

In case I follow this guide...will my color settings be lost after I install the next updates for my LC version ?
:!: :?:

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 2792
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria
Contact:

Re: A darker Background editor ! Or more colors to the existing one.

Post by richmond62 » Sat Jan 13, 2018 4:28 pm

I wouldn't go near any of those "things" above, I'd just go to the Preferences:
prefs.png
Your settings should be kept for other versions of LiveCode.
ugly.png

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 2792
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria
Contact:

Re: A darker Background editor ! Or more colors to the existing one.

Post by richmond62 » Sat Jan 13, 2018 4:38 pm

Of course it is a this point where we need to ask
about alternative text colouration (say, white).

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

Re: A darker Background editor ! Or more colors to the existing one.

Post by bogs » Sat Jan 13, 2018 5:16 pm

Well, the reason I didn't just mention the background color was because in his first post he said -
teriibi wrote:
Sat Jan 13, 2018 3:16 am
that is more like Sublimetext...in the way that it offers more colors backgd+text.
----------
Not only the Background color can be changed to adapt your needs but the fonts color too !!
But, I do quite agree with you that I myself would not go through that much trouble. I don't have a problem with white as a background per se, but there are dozens of off white variations that subdue glare and allow the text to be readable.
Image
However, it is obviously a problem for some, and I don't see that it should be a ginormous problem to solve in the distribution.

After all, your talking about what, putting some check boxes to tick off? Or even some pre-defined patterns ? However, until that point happens, then either using this method, or one of the other editors available, or even something like sublime with a lexer set up for Lc ( I think there is one somewhere, but have forgotten which), or setting it up as a plugin as mentioned above is the only ways your going to roll.

The plug in at least will not be overwritten during updates.
Image

teriibi
Posts: 254
Joined: Mon Nov 13, 2017 3:49 pm
Location: Bolivia

Re: A darker Background editor ! Or more colors to the existing one.

Post by teriibi » Sat Jan 13, 2018 8:22 pm

Ok Bogs, thanks I ll give it a try !
Yes some ppl like myself are seeing much better with a dark background its an optical problem and I cant change my eyes as far as I know... :shock:
:mrgreen:

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

Re: A darker Background editor ! Or more colors to the existing one.

Post by bogs » Sat Jan 13, 2018 8:27 pm

Here is another way you might go, using a different editor (this topic highlights Atom).

I have to say, it has a lot of nice features rolled in, good job you guys!
Image

Alternately, if you want something plug and play, I don't think your going to get much better than something like this from Andy P.
Image

teriibi
Posts: 254
Joined: Mon Nov 13, 2017 3:49 pm
Location: Bolivia

Re: A darker Background editor ! Or more colors to the existing one.

Post by teriibi » Sat Jan 13, 2018 9:20 pm

Still dont get it....where are the colors settings ?
Image
Attachments
bkgd editor.png

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

Re: A darker Background editor ! Or more colors to the existing one.

Post by bogs » Sat Jan 13, 2018 10:42 pm

Well, as far as I know, right here -
Image
Your screen shot appears to be a level or so too low, in the template section.
Image

bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3256
Joined: Sun Jan 07, 2007 9:12 pm
Location: Bochum, Germany

Re: A darker Background editor ! Or more colors to the existing one.

Post by bn » Sun Jan 14, 2018 4:53 pm

Hi,

another option is to issue

Code: Select all

set the ink of fld "script" of stack "revSETemplate" to "blendExclusion"
you can try this from the message box: close all Script Editors and put above code into the message box and hit return.

Then open a script.

If you like this you could do a plugin that does it for you automatically. Then you would not have to change your copy of the IDE and don't have to redo that for each new version.

In Preferences you can choose 2 different colorizations and no colorization. Check out which suits you best with above change.

Kind regards
Bernd

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

Re: A darker Background editor ! Or more colors to the existing one.

Post by bogs » Sun Jan 14, 2018 5:36 pm

Certainly sounds like a better experiment than I had in mind :wink:

Tried it, works great and is easy. Nice Bernd!
Image

bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3256
Joined: Sun Jan 07, 2007 9:12 pm
Location: Bochum, Germany

Re: A darker Background editor ! Or more colors to the existing one.

Post by bn » Sun Jan 14, 2018 7:04 pm

Hi bogs,

actually the credit goes to Hermann, he proposed a solution similar to this one for tinyDictionary.

Kind regards

Bernd

Post Reply

Return to “Feature Requests”