function FindBar(options) {
        var defaults = {
            multifile: false,
            replace: false,
            queryPlaceholder: "",
            initialQuery: "",
            initialReplaceText: "",
            scopeLabel: ""
        };
        this._options = _.extend(defaults, options);
        this._closed = false;
        this._enabled = true;
        this.lastQueriedText = "";
        this.lastTypedText = "";
        this.lastTypedTextWasRegexp = false;
    }
@constructor
Find Bar UI component, used for both single- and multi-file find/replace. This doesn't actually
create and add the FindBar to the DOM - for that, call open().

Dispatches these events:

- queryChange - when the user types in the input field or sets a query option. Use getQueryInfo()
     to get the current query state.
- doFind - when the user chooses to do a Find Previous or Find Next.
     Parameters are:
         shiftKey - boolean, false for Find Next, true for Find Previous
- doReplace - when the user chooses to do a single replace. Use getReplaceText() to get the current replacement text.
- doReplaceBatch - when the user chooses to initiate a Replace All. Use getReplaceText() to get the current replacement text.
- doReplaceAll - when the user chooses to perform a Replace All. Use getReplaceText() to get the current replacement text.
-  close - when the find bar is closed

@param {boolean=} options.multifile - true if this is a Find/Replace in Files (changes the behavior of Enter in
     the fields, hides the navigator controls, shows the scope/filter controls, and if in replace mode, hides the
     Replace button (so there's only Replace All)
@param {boolean=} options.replace - true to show the Replace controls - default false
@param {string=}  options.queryPlaceholder - label to show in the Find field - default empty string
@param {string=}  options.initialQuery - query to populate in the Find field on open - default empty string
@param {string=}  scopeLabel - HTML label to show for the scope of the search, expected to be already escaped - default empty string