diff options
author | Matt A. Tobin <email@mattatobin.com> | 2018-04-17 07:31:18 -0400 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2018-04-17 07:31:18 -0400 |
commit | 0bdaa97892ead4977d69382a2bfe8f00a7dbac82 (patch) | |
tree | 91a1539a0d5602bab94ca6d2357f63e2ae2839fb /toolkit/components/autocomplete/nsIAutoCompleteResult.idl | |
parent | e719d7b3be222dfafad78c71761bad2bafb1243d (diff) | |
download | UXP-0bdaa97892ead4977d69382a2bfe8f00a7dbac82.tar UXP-0bdaa97892ead4977d69382a2bfe8f00a7dbac82.tar.gz UXP-0bdaa97892ead4977d69382a2bfe8f00a7dbac82.tar.lz UXP-0bdaa97892ead4977d69382a2bfe8f00a7dbac82.tar.xz UXP-0bdaa97892ead4977d69382a2bfe8f00a7dbac82.zip |
Restore typeAheadResult support in autocomplete
Diffstat (limited to 'toolkit/components/autocomplete/nsIAutoCompleteResult.idl')
-rw-r--r-- | toolkit/components/autocomplete/nsIAutoCompleteResult.idl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/toolkit/components/autocomplete/nsIAutoCompleteResult.idl b/toolkit/components/autocomplete/nsIAutoCompleteResult.idl index c719d9427..9ae22ade7 100644 --- a/toolkit/components/autocomplete/nsIAutoCompleteResult.idl +++ b/toolkit/components/autocomplete/nsIAutoCompleteResult.idl @@ -50,6 +50,13 @@ interface nsIAutoCompleteResult : nsISupports readonly attribute unsigned long matchCount; /** + * If true, the results will not be displayed in the popup. However, + * if a default index is specified, the default item will still be + * completed in the input. + */ + readonly attribute boolean typeAheadResult; + + /** * Get the value of the result at the given index */ AString getValueAt(in long index); |