|
@@ -5,10 +5,10 @@
|
|
|
// Ross Ferguson ([email protected])
|
|
|
//
|
|
|
|
|
|
+using NStack;
|
|
|
using System;
|
|
|
using System.Collections;
|
|
|
using System.Collections.Generic;
|
|
|
-using NStack;
|
|
|
|
|
|
namespace Terminal.Gui {
|
|
|
/// <summary>
|
|
@@ -725,6 +725,18 @@ namespace Terminal.Gui {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ /// <summary>
|
|
|
+ /// Current search text
|
|
|
+ /// </summary>
|
|
|
+ public ustring SearchText {
|
|
|
+ get {
|
|
|
+ return search.Text;
|
|
|
+ }
|
|
|
+ set {
|
|
|
+ search.Text = text = value;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
private void SetValue (object text, bool isFromSelectedItem = false)
|
|
|
{
|
|
|
search.TextChanged -= Search_Changed;
|