private void recordSearch() {
			// Update search input history.
			String searchText = searchInput.getText();
			pastSearches.remove(searchText);
			pastSearches.add(0, searchText);
		}
Records the current {@link #searchInput} text to {@link #pastSearches}.
recaf-ui/src/main/java/software/coley/recaf/ui/control/richtext/search/SearchBar.java