EditBox::AddHistoryLine
function · ui · primitive
- Address
0x798960· 241 bytes, up to0x798a50- Signature
int __fastcall (lua_State *L)- Meaning
- Implements the EditBox method AddHistoryLine, its pair in the table 0x87bb68
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- ui/editbox#history
Finding: History in ui: EditBox
A box with history lines keeps a ring of that many lines. AddHistoryLine writes at the ring's
position and advances it, keeping empty and repeated lines. The same position is the browsing
cursor: Up or Ctrl+P sets the text to the nearest stored line before it, wrapping, and Down or
Ctrl+N to the nearest after it, and the next added line overwrites the slot the browsing reached.
No draft is kept.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 8
- lua_gettop lua
- lua_settop lua
- lua_type lua
- lua_tostring lua
- lua_touserdata lua
- lua_rawgeti lua
- luaL_error lua
- CSimpleEditBox::AddHistoryLine ui
Calls and jumps by a bare address, from tables/calls.tsv.