Project

General

Profile

$editboxhistory » History » Version 2

Per Amundsen, 12/06/2017 02:00 AM

1 1 Per Amundsen
_Added in 2.3_
2
3
*$editboxhistory(window,N)*
4
5
Returns the Nth Editbox history item for the window.
6
7
*Parameters*
8
9
window - The window to retrieve Editbox history from.
10
N - If N = 0, number of history items, otherwise the Nth item.
11 2 Per Amundsen
12
*Properties*
13
14
.current - Returns the current Editbox history position.
15 1 Per Amundsen
16
*Example*
17
18
<pre>
19
; Print number of Editbox history items for the active window.
20
//echo -ag $editboxhistory($active, 0)
21
22
; Print the first Editbox history item for the active window.
23
//echo -ag $editboxhistory($active, 1)
24
</pre>