| View previous topic :: View next topic |
| Author |
Message |
Antoshick Advanced Cheater
Reputation: 0
Joined: 02 Nov 2018 Posts: 56
|
Posted: Sun Jan 12, 2020 11:40 pm Post subject: Minimize big part of lua script |
|
|
Hi,
when i usually restart CE, all hidden lua functions in "lua script Cheat Table" are not hidden again.
No settings were found to save their state as hidden.
I just have a few long functions in lua, so it's not easy to scroll through it.
Can we turn on it state somewhere in CE?
|
|
| Back to top |
|
 |
Corroder Grandmaster Cheater Supreme
Reputation: 75
Joined: 10 Apr 2015 Posts: 1668
|
Posted: Mon Jan 13, 2020 12:22 am Post subject: |
|
|
How to hide Lua's functions in the "Lua script Cheat Table"?. I want to learn..
_________________
Stealing Code From Stolen Code...
And Admit It.. Hmmm....Typically LOL |
|
| Back to top |
|
 |
Antoshick Advanced Cheater
Reputation: 0
Joined: 02 Nov 2018 Posts: 56
|
Posted: Mon Jan 13, 2020 2:21 am Post subject: |
|
|
| Corroder wrote: | | How to hide Lua's functions in the "Lua script Cheat Table"?. I want to learn.. |
Minus character. I mean this hiding
|
|
| Back to top |
|
 |
Corroder Grandmaster Cheater Supreme
Reputation: 75
Joined: 10 Apr 2015 Posts: 1668
|
Posted: Mon Jan 13, 2020 4:03 am Post subject: |
|
|
Ah I see...you mean to Lua script cheat table editor.
I believe that can set (to hide the lines) via :
| Code: | | mainForm.frmLuaTableScript.... |
but I don't which file on CE source script handles the Lua script cheat table editor. Also can't find it on the Lua script cheat table editor > View > Preference. I hope DB will help.
_________________
Stealing Code From Stolen Code...
And Admit It.. Hmmm....Typically LOL |
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25827 Location: The netherlands
|
Posted: Mon Jan 13, 2020 5:16 am Post subject: |
|
|
it's called folding and is part of synedit
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
| Back to top |
|
 |
Corroder Grandmaster Cheater Supreme
Reputation: 75
Joined: 10 Apr 2015 Posts: 1668
|
Posted: Mon Jan 13, 2020 7:08 am Post subject: |
|
|
Ok. DB, so the folding block state can't set by CE Lua script, right?. It might be done on CE synedit.pas itself if am right?.
from https://wiki.lazarus.freepascal.org/SynEdit_Highlighter
| Code: | function StartCodeFoldBlock(ABlockType: Pointer; IncreaseLevel: Boolean = true): TSynCustomCodeFoldBlock; virtual;
|
and
| Code: | | procedure EndCodeFoldBlock(DecreaseLevel: Boolean = True); virtual; |
and
| Code: | | function TopCodeFoldBlockType(DownIndex: Integer = 0): Pointer; |
are to control increase, decrease, and ID Block in synedit, but no idea implementing these with Lua.
_________________
Stealing Code From Stolen Code...
And Admit It.. Hmmm....Typically LOL |
|
| Back to top |
|
 |
|