mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-25 14:22:54 -06:00
ide: PDB debugger now can use Esc scripts for pretty printing
This commit is contained in:
parent
33431e0b32
commit
fa58d0c40a
39 changed files with 1118 additions and 630 deletions
|
|
@ -105,6 +105,28 @@ void CSyntax::InitKeywords()
|
|||
"GetMinSize", "GetStdSize",
|
||||
NULL
|
||||
};
|
||||
static const char *dbg[] = {
|
||||
"void", "self", "if", "else", "while", "do", "case",
|
||||
"default", "break", "return", "switch", "operator", "for",
|
||||
"fn", "typename",
|
||||
"value", "from", "items", "template_param",
|
||||
"TEXT", "HAS_DATA", "ITEM_COUNT", "ITEM_TYPE", "STRING",
|
||||
"ITEM_PTR", "ITEM_PTRS", "ITEM_DEREF_PTRS", "CHUNK",
|
||||
NULL
|
||||
};
|
||||
static const char *dbglib[] = {
|
||||
"is_number", "is_array", "is_map", "is_void", "int", "to_string", "to_number",
|
||||
"count", "keys", "values", "rand", "reverse", "sort", "order", "replace",
|
||||
"ToUpper", "ToLower", "len", "mid", "exists",
|
||||
|
||||
"SizeOf", "TypeName", "DeRef", "Field",
|
||||
"PeekPtr", "Peek8", "Peek16", "Peek32", "Peek64", "Peek32f", "Peek64f",
|
||||
"SizeOfPtr",
|
||||
|
||||
"LOG",
|
||||
|
||||
NULL
|
||||
};
|
||||
static const char *java[] = {
|
||||
"abstract", "assert", "boolean", "byte", "case",
|
||||
"catch", "char", "class", "const",
|
||||
|
|
@ -337,6 +359,7 @@ void CSyntax::InitKeywords()
|
|||
LoadSyntax(css, cssn);
|
||||
LoadSyntax(empty, empty); // This is JSON - no keywords to highlights
|
||||
LoadSyntax(php, php2);
|
||||
LoadSyntax(dbg, dbglib);
|
||||
|
||||
kw_macros = InitUpp(upp_macros);
|
||||
kw_logs = InitUpp(upp_logs);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue