| View previous topic :: View next topic |
| Author |
Message |
Dr.Disrespect Grandmaster Cheater
Reputation: 3
Joined: 17 Feb 2016 Posts: 526
|
Posted: Thu Mar 02, 2017 2:25 pm Post subject: Changing the color of Syntax highlighting? |
|
|
Is there a way to change the color of syntax highlighting in Lua Script? For example, comments are grey, if I want to change it to green, is it possible?
Thanks.
_________________
**************
A simple example is better then ten links.  |
|
| Back to top |
|
 |
daspamer Grandmaster Cheater Supreme
Reputation: 54
Joined: 13 Sep 2011 Posts: 1588
|
Posted: Thu Mar 02, 2017 3:21 pm Post subject: |
|
|
Erm, Im pretty sure you could check source out figure out the highlight color, then attach cheat engine to itself, search & replace and check if it worked.
if it did then either use aobscan each time ce for the color or use auto assemble, for a dirty patch.
Or compile a new c.e build with different color
_________________
I'm rusty and getting older, help me re-learn lua. |
|
| Back to top |
|
 |
++METHOS I post too much
Reputation: 92
Joined: 29 Oct 2010 Posts: 4197
|
Posted: Thu Mar 02, 2017 3:21 pm Post subject: |
|
|
| The highlighting in CE could use some improvement. As an alternative, you may use an editor that supports the Lua language -- e.g. Notepad++, SciTE et al..
|
|
| Back to top |
|
 |
Dr.Disrespect Grandmaster Cheater
Reputation: 3
Joined: 17 Feb 2016 Posts: 526
|
Posted: Sat Mar 04, 2017 6:06 pm Post subject: |
|
|
| ++METHOS wrote: | | The highlighting in CE could use some improvement. As an alternative, you may use an editor that supports the Lua language -- e.g. Notepad++, SciTE et al.. |
Yea, I think that's the only way for now. Thanks. METHOS.
@DaSpamer, I am not sure if I can do that, but I will give it a try. Thank you too.
_________________
**************
A simple example is better then ten links.  |
|
| Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
Posted: Sun Mar 05, 2017 5:45 pm Post subject: |
|
|
| ++METHOS wrote: | | The highlighting in CE could use some improvement. As an alternative, you may use an editor that supports the Lua language -- e.g. Notepad++, SciTE et al.. |
Going along with this, if you download 'Lua for Windows' it comes with a customized SciTE editor that has pretty decent syntax highlighting for Lua specifically. You can also use it to test non-CE specific Lua code on the fly too.
_________________
- Retired. |
|
| Back to top |
|
 |
TheyCallMeTim13 Wiki Contributor
Reputation: 51
Joined: 24 Feb 2017 Posts: 976 Location: Pluto
|
Posted: Sun Mar 05, 2017 5:48 pm Post subject: |
|
|
One I haven't seen listed, that I can't live without, is Sublime Text.
Love the default theme, and you can create custom build settings for any language.
And adding language definitions is pretty easy.
_________________
|
|
| Back to top |
|
 |
Dr.Disrespect Grandmaster Cheater
Reputation: 3
Joined: 17 Feb 2016 Posts: 526
|
Posted: Mon Mar 06, 2017 1:33 am Post subject: |
|
|
@atom0s @TheyCallMeTim13
Thanks for recommendations. I think I will try both and see what fits my need.
_________________
**************
A simple example is better then ten links.  |
|
| Back to top |
|
 |
|