Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Minimize big part of lua script

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
Antoshick
Advanced Cheater
Reputation: 0

Joined: 02 Nov 2018
Posts: 56

PostPosted: Sun Jan 12, 2020 11:40 pm    Post subject: Minimize big part of lua script Reply with quote

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
View user's profile Send private message
Corroder
Grandmaster Cheater Supreme
Reputation: 75

Joined: 10 Apr 2015
Posts: 1668

PostPosted: Mon Jan 13, 2020 12:22 am    Post subject: Reply with quote

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
View user's profile Send private message
Antoshick
Advanced Cheater
Reputation: 0

Joined: 02 Nov 2018
Posts: 56

PostPosted: Mon Jan 13, 2020 2:21 am    Post subject: Reply with quote

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
View user's profile Send private message
Corroder
Grandmaster Cheater Supreme
Reputation: 75

Joined: 10 Apr 2015
Posts: 1668

PostPosted: Mon Jan 13, 2020 4:03 am    Post subject: Reply with quote

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
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

Joined: 09 May 2003
Posts: 25827
Location: The netherlands

PostPosted: Mon Jan 13, 2020 5:16 am    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
Corroder
Grandmaster Cheater Supreme
Reputation: 75

Joined: 10 Apr 2015
Posts: 1668

PostPosted: Mon Jan 13, 2020 7:08 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites