Tomboy.NoteRecentChanges.FilterBySearch C# (CSharp) Method

FilterBySearch() private method

Return true if the specified note should be shown in the list based on the search string. If no search string is specified, all notes should be allowed.
private FilterBySearch ( Note note ) : bool
note Note
return bool
		bool FilterBySearch (Note note)
		{
			if (SearchText == null)
				return true;

			if (current_matches.Count == 0)
				return false;

			return note != null && current_matches.ContainsKey (note.Uri);
		}