Project

General

Profile

$editboxhistory » History » Revision 4

Revision 3 (Per Amundsen, 12/06/2017 04:57 AM) → Revision 4/6 (Per Amundsen, 04/29/2018 12:55 AM)

_Added in 2.3_ 

 *$editboxhistory(window,N)* 

 Returns the Nth [[Editbox Control|Editbox]] Editbox history item for the window. 

 *Parameters* 

 window - The window to retrieve [[Editbox Control|Editbox]] Editbox history from. 
 N - If N = 0, number of history items, otherwise the Nth item. 

 *Properties* 

 .pos - Returns the current [[Editbox Control|Editbox]] Editbox history position. 

 *Example* 

 <pre> 
 ; Print number of Editbox history items for the active window. 
 //echo -ag $editboxhistory($active, 0) 

 ; Print the first Editbox history item for the active window. 
 //echo -ag $editboxhistory($active, 1) 
 </pre>