Project

General

Profile

$editboxhistory » History » Revision 5

Revision 4 (Per Amundsen, 04/29/2018 12:55 AM) → Revision 5/6 (Per Amundsen, 08/18/2020 09:16 PM)

_Added in 2.3_ 

 *$editboxhistory(window,N)* 

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

 _See also [[$editbox]], [[/editbox]]._ 

 *Parameters* 

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

 *Properties* 

 .pos - Returns the current [[Editbox Control|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>