| skipped 44 lines |
45 | 45 | | #include "regex4.h" |
46 | 46 | | |
47 | 47 | | // clang-format off |
48 | | - | struct RegexColorList AttachList; ///< List of colours applied to the attachment headers |
49 | | - | struct RegexColorList BodyList; ///< List of colours applied to the email body |
50 | | - | struct RegexColorList HeaderList; ///< List of colours applied to the email headers |
51 | | - | struct RegexColorList IndexAuthorList; ///< List of colours applied to the author in the index |
52 | | - | struct RegexColorList IndexFlagsList; ///< List of colours applied to the flags in the index |
53 | | - | struct RegexColorList IndexList; ///< List of default colours applied to the index |
54 | | - | struct RegexColorList IndexSubjectList; ///< List of colours applied to the subject in the index |
55 | | - | struct RegexColorList IndexTagList; ///< List of colours applied to tags in the index |
56 | | - | struct RegexColorList StatusList; ///< List of colours applied to the status bar |
| 48 | + | struct RegexColorList AttachList; ///< List of colours applied to the attachment headers |
| 49 | + | struct RegexColorList BodyList; ///< List of colours applied to the email body |
| 50 | + | struct RegexColorList HeaderList; ///< List of colours applied to the email headers |
| 51 | + | struct RegexColorList IndexAuthorList; ///< List of colours applied to the author in the index |
| 52 | + | struct RegexColorList IndexCollapsedList; ///< List of colours applied to a collapsed thread in the index |
| 53 | + | struct RegexColorList IndexDateList; ///< List of colours applied to the date in the index |
| 54 | + | struct RegexColorList IndexLabelList; ///< List of colours applied to the label in the index |
| 55 | + | struct RegexColorList IndexNumberList; ///< List of colours applied to the message number in the index |
| 56 | + | struct RegexColorList IndexSizeList; ///< List of colours applied to the size in the index |
| 57 | + | struct RegexColorList IndexTagsList; ///< List of colours applied to the tags in the index |
| 58 | + | struct RegexColorList IndexFlagsList; ///< List of colours applied to the flags in the index |
| 59 | + | struct RegexColorList IndexList; ///< List of default colours applied to the index |
| 60 | + | struct RegexColorList IndexSubjectList; ///< List of colours applied to the subject in the index |
| 61 | + | struct RegexColorList IndexTagList; ///< List of colours applied to tags in the index |
| 62 | + | struct RegexColorList StatusList; ///< List of colours applied to the status bar |
57 | 63 | | // clang-format on |
58 | 64 | | |
59 | 65 | | /** |
| skipped 6 lines |
66 | 72 | | STAILQ_INIT(&BodyList); |
67 | 73 | | STAILQ_INIT(&HeaderList); |
68 | 74 | | STAILQ_INIT(&IndexAuthorList); |
| 75 | + | STAILQ_INIT(&IndexCollapsedList); |
| 76 | + | STAILQ_INIT(&IndexDateList); |
| 77 | + | STAILQ_INIT(&IndexLabelList); |
| 78 | + | STAILQ_INIT(&IndexNumberList); |
| 79 | + | STAILQ_INIT(&IndexSizeList); |
| 80 | + | STAILQ_INIT(&IndexTagsList); |
69 | 81 | | STAILQ_INIT(&IndexFlagsList); |
70 | 82 | | STAILQ_INIT(&IndexList); |
71 | 83 | | STAILQ_INIT(&IndexSubjectList); |
| skipped 12 lines |
84 | 96 | | regex_color_list_clear(&HeaderList); |
85 | 97 | | regex_color_list_clear(&IndexList); |
86 | 98 | | regex_color_list_clear(&IndexAuthorList); |
| 99 | + | regex_color_list_clear(&IndexCollapsedList); |
| 100 | + | regex_color_list_clear(&IndexDateList); |
| 101 | + | regex_color_list_clear(&IndexLabelList); |
| 102 | + | regex_color_list_clear(&IndexNumberList); |
| 103 | + | regex_color_list_clear(&IndexSizeList); |
| 104 | + | regex_color_list_clear(&IndexTagsList); |
87 | 105 | | regex_color_list_clear(&IndexFlagsList); |
88 | 106 | | regex_color_list_clear(&IndexSubjectList); |
89 | 107 | | regex_color_list_clear(&IndexTagList); |
| skipped 93 lines |
183 | 201 | | return &IndexSubjectList; |
184 | 202 | | case MT_COLOR_INDEX_TAG: |
185 | 203 | | return &IndexTagList; |
| 204 | + | case MT_COLOR_INDEX_COLLAPSED: |
| 205 | + | return &IndexCollapsedList; |
| 206 | + | case MT_COLOR_INDEX_DATE: |
| 207 | + | return &IndexDateList; |
| 208 | + | case MT_COLOR_INDEX_LABEL: |
| 209 | + | return &IndexLabelList; |
| 210 | + | case MT_COLOR_INDEX_NUMBER: |
| 211 | + | return &IndexNumberList; |
| 212 | + | case MT_COLOR_INDEX_SIZE: |
| 213 | + | return &IndexSizeList; |
| 214 | + | case MT_COLOR_INDEX_TAGS: |
| 215 | + | return &IndexTagsList; |
186 | 216 | | case MT_COLOR_STATUS: |
187 | 217 | | return &StatusList; |
188 | 218 | | default: |
| skipped 147 lines |
336 | 366 | | case MT_COLOR_INDEX_FLAGS: |
337 | 367 | | case MT_COLOR_INDEX_SUBJECT: |
338 | 368 | | case MT_COLOR_INDEX_TAG: |
| 369 | + | case MT_COLOR_INDEX_COLLAPSED: |
| 370 | + | case MT_COLOR_INDEX_DATE: |
| 371 | + | case MT_COLOR_INDEX_LABEL: |
| 372 | + | case MT_COLOR_INDEX_NUMBER: |
| 373 | + | case MT_COLOR_INDEX_SIZE: |
| 374 | + | case MT_COLOR_INDEX_TAGS: |
339 | 375 | | sensitive = true; |
340 | 376 | | is_index = true; |
341 | 377 | | break; |
| skipped 108 lines |