Page 1 of 6
A darker Background editor ! Or more colors to the existing one.
Posted: Sat Jan 13, 2018 3:16 am
by teriibi
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.
Save the planet ! (and save my sight too)
Re: A darker Background editor ! Or more colors to the existing one.
Posted: Sat Jan 13, 2018 3:34 am
by bogs
I think this
topic might appeal to you for what you are trying to do.
Re: A darker Background editor ! Or more colors to the existing one.
Posted: Sat Jan 13, 2018 1:03 pm
by teriibi
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...

Re: A darker Background editor ! Or more colors to the existing one.
Posted: Sat Jan 13, 2018 3:39 pm
by bogs
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 -

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 -
Again, I would pay heed to the warning at the top of the script, which is -
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

Re: A darker Background editor ! Or more colors to the existing one.
Posted: Sat Jan 13, 2018 4:20 pm
by teriibi
In case I follow this guide...will my color settings be lost after I install the next updates for my LC version ?

Re: A darker Background editor ! Or more colors to the existing one.
Posted: Sat Jan 13, 2018 4:28 pm
by richmond62
I wouldn't go near any of those "things" above, I'd just go to the
Preferences:
Your settings should be kept for other versions of LiveCode.
Re: A darker Background editor ! Or more colors to the existing one.
Posted: Sat Jan 13, 2018 4:38 pm
by richmond62
Of course it is a this point where we need to ask
about alternative text colouration (say, white).
Re: A darker Background editor ! Or more colors to the existing one.
Posted: Sat Jan 13, 2018 5:16 pm
by bogs
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.

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.
Re: A darker Background editor ! Or more colors to the existing one.
Posted: Sat Jan 13, 2018 8:22 pm
by teriibi
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...

Re: A darker Background editor ! Or more colors to the existing one.
Posted: Sat Jan 13, 2018 8:27 pm
by bogs
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!
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.
Re: A darker Background editor ! Or more colors to the existing one.
Posted: Sat Jan 13, 2018 9:20 pm
by teriibi
Still dont get it....where are the colors settings ?

Re: A darker Background editor ! Or more colors to the existing one.
Posted: Sat Jan 13, 2018 10:42 pm
by bogs
Well, as far as I know, right here -

Your screen shot appears to be a level or so too low, in the template section.
Re: A darker Background editor ! Or more colors to the existing one.
Posted: Sun Jan 14, 2018 4:53 pm
by bn
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
Re: A darker Background editor ! Or more colors to the existing one.
Posted: Sun Jan 14, 2018 5:36 pm
by bogs
Certainly sounds like a better experiment than I had in mind
Tried it, works great and is easy. Nice Bernd!
Re: A darker Background editor ! Or more colors to the existing one.
Posted: Sun Jan 14, 2018 7:04 pm
by bn
Hi bogs,
actually the credit goes to Hermann, he proposed a solution similar to this one for tinyDictionary.
Kind regards
Bernd