@@ -400,7 +400,8 @@ field_overlay_source::build_field_lines(const listview_curses& lv,
400400 this ->fos_row_to_field_meta .emplace (
401401 this ->fos_lines .size (), row_info{std::nullopt , value_str});
402402 }
403- readline_sqlite_highlighter_int (al, std::nullopt , hl_range);
403+ readline_sql_highlighter_int (
404+ al, lnav::sql::dialect::sqlite, std::nullopt , hl_range);
404405
405406 al.append (" = " ).append (scrub_ws (value_str.c_str ()));
406407
@@ -436,7 +437,8 @@ field_overlay_source::build_field_lines(const listview_curses& lv,
436437 .append (qname.in ())
437438 .append (" )" )
438439 .move ();
439- readline_sqlite_highlighter (key_line, std::nullopt );
440+ readline_sql_highlighter (
441+ key_line, lnav::sql::dialect::sqlite, std::nullopt );
440442 auto key_size = key_line.length ();
441443 key_line.append (" = " ).append (scrub_ws (extra_pair.second ));
442444 this ->fos_row_to_field_meta .emplace (this ->fos_lines .size (),
@@ -456,7 +458,8 @@ field_overlay_source::build_field_lines(const listview_curses& lv,
456458 .append (this ->fos_log_helper .format_json_getter (
457459 jpairs_map.first , lpc))
458460 .move ();
459- readline_sqlite_highlighter (key_line, std::nullopt );
461+ readline_sql_highlighter (
462+ key_line, lnav::sql::dialect::sqlite, std::nullopt );
460463 auto key_size = key_line.length ();
461464 key_line.append (" = " ).append (scrub_ws (jpairs[lpc].wt_value ));
462465 this ->fos_row_to_field_meta .emplace (
@@ -479,7 +482,8 @@ field_overlay_source::build_field_lines(const listview_curses& lv,
479482 this ->fos_log_helper .ldh_file ->get_format ()->get_name ().c_str (),
480483 qname.in ());
481484 auto key_line = attr_line_t (" " ).append (xp_call.in ()).move ();
482- readline_sqlite_highlighter (key_line, std::nullopt );
485+ readline_sql_highlighter (
486+ key_line, lnav::sql::dialect::sqlite, std::nullopt );
483487 auto key_size = key_line.length ();
484488 key_line.append (" = " ).append (scrub_ws (xml_pair.second ));
485489 this ->fos_row_to_field_meta .emplace (
0 commit comments