MCPcopy Create free account
hub / github.com/duckdb/duckdb / TrySetHighlightColor

Function TrySetHighlightColor

tools/shell/shell_metadata_command.cpp:559–565  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

557}
558
559MetadataResult TrySetHighlightColor(ShellState &state, const string &component, const string &code) {
560 vector<string> args;
561 args.push_back("highlight_colors");
562 args.push_back(component);
563 args.push_back(code);
564 return SetHighlightColors(state, args);
565}
566
567enum class DeprecatedHighlightColors {
568 COMMENT,

Callers 1

SetHighlightingColorFunction · 0.85

Calls 2

SetHighlightColorsFunction · 0.85
push_backMethod · 0.45

Tested by

no test coverage detected