|
233 | 233 | ---- |
234 | 234 |
|
235 | 235 |
|
| 236 | +.. _clear_highlight_field: |
| 237 | + |
| 238 | +:clear-highlight-field *field* |
| 239 | +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 240 | + |
| 241 | + Remove a field highlight |
| 242 | + |
| 243 | + **Parameters** |
| 244 | + * **field\*** --- The name of highlighted field |
| 245 | + |
| 246 | + **Examples** |
| 247 | + To clear the highlights for the 'sc_status' field: |
| 248 | + |
| 249 | + .. code-block:: lnav |
| 250 | +
|
| 251 | + :clear-highlight-field sc_status |
| 252 | +
|
| 253 | + **See Also** |
| 254 | + :ref:`enable_word_wrap`, :ref:`hide_fields`, :ref:`highlight_field`, :ref:`set_text_view_mode` |
| 255 | + |
| 256 | +---- |
| 257 | + |
| 258 | + |
236 | 259 | .. _clear_mark_expr: |
237 | 260 |
|
238 | 261 | :clear-mark-expr |
|
523 | 546 | Disable word-wrapping for the current view |
524 | 547 |
|
525 | 548 | **See Also** |
526 | | - :ref:`enable_word_wrap`, :ref:`hide_fields`, :ref:`highlight`, :ref:`set_text_view_mode` |
| 549 | + :ref:`enable_word_wrap`, :ref:`hide_fields`, :ref:`set_text_view_mode` |
527 | 550 |
|
528 | 551 | ---- |
529 | 552 |
|
|
583 | 606 | Enable word-wrapping for the current view |
584 | 607 |
|
585 | 608 | **See Also** |
586 | | - :ref:`disable_word_wrap`, :ref:`hide_fields`, :ref:`highlight`, :ref:`set_text_view_mode` |
| 609 | + :ref:`disable_word_wrap`, :ref:`hide_fields`, :ref:`set_text_view_mode` |
587 | 610 |
|
588 | 611 | ---- |
589 | 612 |
|
|
811 | 834 | :hide-fields syslog_log.log_procname |
812 | 835 |
|
813 | 836 | **See Also** |
814 | | - :ref:`enable_word_wrap`, :ref:`highlight`, :ref:`set_text_view_mode`, :ref:`show_fields` |
| 837 | + :ref:`enable_word_wrap`, :ref:`set_text_view_mode`, :ref:`show_fields` |
815 | 838 |
|
816 | 839 | ---- |
817 | 840 |
|
|
924 | 947 | ---- |
925 | 948 |
|
926 | 949 |
|
| 950 | +.. _highlight_field: |
| 951 | + |
| 952 | +:highlight-field *\[--color\]* *\[--bold\]* *\[--underline\]* *\[--italic\]* *\[--strike\]* *\[--blink\]* *field* *pattern* |
| 953 | +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 954 | + |
| 955 | + Highlight a field that matches the given pattern |
| 956 | + |
| 957 | + **Parameters** |
| 958 | + * **--color** --- The foreground color to apply |
| 959 | + * **--bold** --- Make the text bold |
| 960 | + * **--underline** --- Underline the text |
| 961 | + * **--italic** --- Italicize the text |
| 962 | + * **--strike** --- Strikethrough the text |
| 963 | + * **--blink** --- Make the text blink |
| 964 | + * **field\*** --- The name of the field to highlight |
| 965 | + * **pattern\*** --- The regular expression to match |
| 966 | + |
| 967 | + **Examples** |
| 968 | + To color status values that start with '2' green: |
| 969 | + |
| 970 | + .. code-block:: lnav |
| 971 | +
|
| 972 | + :highlight-field --color=green sc_status ^2.* |
| 973 | +
|
| 974 | + **See Also** |
| 975 | + :ref:`clear_highlight_field`, :ref:`enable_word_wrap`, :ref:`hide_fields`, :ref:`set_text_view_mode` |
| 976 | + |
| 977 | +---- |
| 978 | + |
| 979 | + |
927 | 980 | .. _load_session: |
928 | 981 |
|
929 | 982 | :load-session |
|
1401 | 1454 | * **mode\*** --- The display mode |
1402 | 1455 |
|
1403 | 1456 | **See Also** |
1404 | | - :ref:`enable_word_wrap`, :ref:`hide_fields`, :ref:`highlight` |
| 1457 | + :ref:`enable_word_wrap`, :ref:`hide_fields` |
1405 | 1458 |
|
1406 | 1459 | ---- |
1407 | 1460 |
|
|
1441 | 1494 | :show-fields log_procname |
1442 | 1495 |
|
1443 | 1496 | **See Also** |
1444 | | - :ref:`enable_word_wrap`, :ref:`hide_fields`, :ref:`highlight`, :ref:`set_text_view_mode` |
| 1497 | + :ref:`enable_word_wrap`, :ref:`hide_fields`, :ref:`set_text_view_mode` |
1445 | 1498 |
|
1446 | 1499 | ---- |
1447 | 1500 |
|
|
0 commit comments