yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
message_list_query.h File Reference
#include <algorithm>
#include <cctype>
#include <cstddef>
#include <cstdint>
#include <cstdio>
#include <optional>
#include <string>
#include <string_view>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  yaze
 
namespace  yaze::editor
 Editors are the view controllers for the application.
 

Enumerations

enum class  yaze::editor::MessageBankFilter { yaze::editor::kAll = 0 , yaze::editor::kVanilla = 1 , yaze::editor::kExpanded = 2 }
 

Functions

char yaze::editor::AsciiLower (unsigned char c)
 
bool yaze::editor::ContainsCaseInsensitive (std::string_view haystack, std::string_view needle)
 
std::string_view yaze::editor::StripHexPrefix (std::string_view query)
 
bool yaze::editor::HexDigitsContain (uint32_t value, int width, std::string_view query)
 
bool yaze::editor::DecimalContains (int value, std::string_view query)
 
bool yaze::editor::MessageListQueryMatches (int display_id, uint32_t address, std::string_view contents, bool expanded, MessageBankFilter bank, std::string_view query)
 
bool yaze::editor::IsWordChar (std::string_view text, size_t index)
 
std::optional< size_t > yaze::editor::FindNextTextMatch (std::string_view text, std::string_view needle, size_t start, bool case_sensitive, bool whole_word)
 
std::optional< size_t > yaze::editor::FindPreviousTextMatch (std::string_view text, std::string_view needle, size_t before, bool case_sensitive, bool whole_word)
 
std::string yaze::editor::MessageListPreview (std::string_view text, size_t max_chars=96)