public void Draw()

in Editor/TextFilter.cs [63:102]


        public void Draw()
        {
            if (_normalStyle == null)
            { // If is not set up
                SetUp();
            }

            EditorGUILayout.BeginVertical();
            {
                _currentText = EditorGUILayout.TextField(_currentText);

                if (_areOptionsUpdated)
                {
                    _filteredOptions = _options.ToArray();
                    _areOptionsUpdated = false;
                }

                if (_currentText != _confirmedText)
                {
                    _confirmedText = _currentText;
                    _confirmedIndex = _currentIndex = -1;
                    _filteredOptions = _options.Where(option => option.Contains(_currentText)).ToArray();
                }

                if (_filteredOptions == null)
                {
                    _filteredOptions = _options.ToArray();
                }

                _currentIndex = DrawSelection(_currentIndex, _filteredOptions, _selectionHeightPixels);

                if (_currentIndex != _confirmedIndex)
                {
                    _confirmedIndex = _currentIndex;
                    _confirmedText = ConfirmedOption;
                    _currentText = _confirmedText;
                }
            }
            EditorGUILayout.EndVertical();
        }