@@ -1091,7 +1091,7 @@ com_mark_expr(exec_context& ec,
10911091 return Err (set_res.unwrapErr ());
10921092 }
10931093 lnav_data.ld_preview_status_source [0 ].get_description ().set_value (
1094- " Matches are highlighted in the text view" );
1094+ " Matches are highlighted in the text view" _frag );
10951095 lnav_data.ld_status [LNS_PREVIEW0 ].set_needs_update ();
10961096 } else {
10971097 auto set_res = lss.set_sql_marker (expr, stmt.release ());
@@ -1263,7 +1263,7 @@ com_highlight(exec_context& ec,
12631263 hm[{highlight_source_t ::PREVIEW , " preview" }] = hl;
12641264
12651265 lnav_data.ld_preview_status_source [0 ].get_description ().set_value (
1266- " Matches are highlighted in the view" );
1266+ " Matches are highlighted in the view" _frag );
12671267 lnav_data.ld_status [LNS_PREVIEW0 ].set_needs_update ();
12681268
12691269 retval = " " ;
@@ -1395,7 +1395,7 @@ com_filter_expr(exec_context& ec,
13951395 return Err (set_res.unwrapErr ());
13961396 }
13971397 lnav_data.ld_preview_status_source [0 ].get_description ().set_value (
1398- " Matches are highlighted in the text view" );
1398+ " Matches are highlighted in the text view" _frag );
13991399 lnav_data.ld_status [LNS_PREVIEW0 ].set_needs_update ();
14001400 } else {
14011401 lnav_data.ld_log_source .set_preview_sql_filter (nullptr );
@@ -1508,7 +1508,7 @@ com_create_logline_table(exec_context& ec,
15081508 attr_line_t al (ldt->get_table_statement ());
15091509
15101510 lnav_data.ld_preview_status_source [0 ].get_description ().set_value (
1511- " The following table will be created:" );
1511+ " The following table will be created:" _frag );
15121512 lnav_data.ld_status [LNS_PREVIEW0 ].set_needs_update ();
15131513 lnav_data.ld_preview_view [0 ].set_sub_source (
15141514 &lnav_data.ld_preview_source [0 ]);
@@ -1622,7 +1622,7 @@ com_create_search_table(exec_context& ec,
16221622 attr_line_t al (lst->get_table_statement ());
16231623
16241624 lnav_data.ld_preview_status_source [0 ].get_description ().set_value (
1625- " The following table will be created:" );
1625+ " The following table will be created:" _frag );
16261626 lnav_data.ld_status [LNS_PREVIEW0 ].set_needs_update ();
16271627
16281628 lnav_data.ld_preview_view [0 ].set_sub_source (
@@ -1914,7 +1914,7 @@ com_comment(exec_context& ec,
19141914 auto al = parse_res.unwrap ();
19151915 lnav_data.ld_preview_status_source [0 ]
19161916 .get_description ()
1917- .set_value (" Comment rendered as markdown:" );
1917+ .set_value (" Comment rendered as markdown:" _frag );
19181918 lnav_data.ld_status [LNS_PREVIEW0 ].set_needs_update ();
19191919 lnav_data.ld_preview_view [0 ].set_sub_source (
19201920 &lnav_data.ld_preview_source [0 ]);
@@ -3085,7 +3085,7 @@ com_echo(exec_context& ec, std::string cmdline, std::vector<std::string>& args)
30853085 auto ec_out = ec.get_output ();
30863086 if (ec.ec_dry_run ) {
30873087 lnav_data.ld_preview_status_source [0 ].get_description ().set_value (
3088- " The text to output:" );
3088+ " The text to output:" _frag );
30893089 lnav_data.ld_status [LNS_PREVIEW0 ].set_needs_update ();
30903090 lnav_data.ld_preview_view [0 ].set_sub_source (
30913091 &lnav_data.ld_preview_source [0 ]);
@@ -3166,7 +3166,7 @@ com_eval(exec_context& ec, std::string cmdline, std::vector<std::string>& args)
31663166 attr_line_t al (expanded_cmd);
31673167
31683168 lnav_data.ld_preview_status_source [0 ].get_description ().set_value (
3169- " The command to be executed:" );
3169+ " The command to be executed:" _frag );
31703170 lnav_data.ld_status [LNS_PREVIEW0 ].set_needs_update ();
31713171
31723172 lnav_data.ld_preview_view [0 ].set_sub_source (
@@ -3560,7 +3560,7 @@ command_prompt(std::vector<std::string>& args)
35603560 auto * tc = *lnav_data.ld_view_stack .top ();
35613561
35623562 rollback_lnav_config = lnav_config;
3563- lnav_data.ld_doc_status_source .set_title (" Command Help" );
3563+ lnav_data.ld_doc_status_source .set_title (" Command Help" _frag );
35643564 lnav_data.ld_doc_status_source .set_description (
35653565 " See " ANSI_BOLD (" https://docs.lnav.org/en/latest/"
35663566 " commands.html" ) " for more details" );
@@ -3600,7 +3600,7 @@ search_prompt(std::vector<std::string>& args)
36003600 lnav_data.ld_exec_context .ec_top_line = tc->get_selection ().value_or (0_vl);
36013601 lnav_data.ld_search_start_line = tc->get_selection ().value_or (0_vl);
36023602 prompt.focus_for (*tc, ' /' , args);
3603- lnav_data.ld_doc_status_source .set_title (" Syntax Help" );
3603+ lnav_data.ld_doc_status_source .set_title (" Syntax Help" _frag );
36043604 lnav_data.ld_doc_status_source .set_description (" " );
36053605 rl_set_help ();
36063606 lnav_data.ld_bottom_source .set_prompt (
@@ -3671,7 +3671,7 @@ sql_prompt(std::vector<std::string>& args)
36713671 setup_logline_table (lnav_data.ld_exec_context );
36723672 prompt.focus_for (*tc, ' ;' , args);
36733673
3674- lnav_data.ld_doc_status_source .set_title (" Query Help" );
3674+ lnav_data.ld_doc_status_source .set_title (" Query Help" _frag );
36753675 lnav_data.ld_doc_status_source .set_description (
36763676 " See " ANSI_BOLD (" https://docs.lnav.org/en/latest/"
36773677 " sqlext.html" ) " for more details" );
0 commit comments