NeoMutt  2023-05-17-56-ga67199
Teaching an old dog new tricks
DOXYGEN
PagerPrivateData Struct Reference

Private state data for the Pager. More...

#include "private_data.h"

+ Collaboration diagram for PagerPrivateData:

Data Fields

struct PagerViewpview
 Object to view in the pager. More...
 
FILE * fp
 File containing decrypted/decoded/weeded Email. More...
 
struct stat st
 Stats about Email file. More...
 
LOFF_T bytes_read
 Number of bytes read from file. More...
 
struct Linelines
 Array of text lines in pager. More...
 
int lines_used
 Size of lines array (used entries) More...
 
int lines_max
 Capacity of lines array (total entries) More...
 
int cur_line
 Current line (last line visible on screen) More...
 
int old_top_line
 Old top line, used for repainting. More...
 
int win_height
 Number of lines in the Window. More...
 
int top_line
 First visible line on screen. More...
 
int has_types
 Set to MUTT_TYPES for PAGER_MODE_EMAIL or MUTT_SHOWCOLOR. More...
 
struct QuoteStylequote_list
 Tree of quoting levels. More...
 
int q_level
 Number of unique quoting levels. More...
 
PagerFlags hide_quoted
 Set to MUTT_HIDE when quoted email is hidden <toggle-quoted> More...
 
PagerFlags search_flag
 Set to MUTT_SEARCH when search results are visible <search-toggle> More...
 
char search_str [256]
 Current search string. More...
 
bool search_compiled
 Search regex is in use. More...
 
regex_t search_re
 Compiled search string. More...
 
bool search_back
 Search backwards. More...
 
bool force_redraw
 Repaint is needed. More...
 
PagerRedrawFlags redraw
 When to redraw the screen. More...
 
struct AttrColorList ansi_list
 List of ANSI colours used in the Pager. More...
 
struct Notifynotify
 Notifications: NotifyPager, PagerPrivateData. More...
 
int rc
 Return code from functions. More...
 
int searchctx
 Space to show around search matches. More...
 
bool first
 First time flag for toggle-new. More...
 
bool wrapped
 Has the search/next wrapped around? More...
 
uint64_t delay_read_timestamp
 Time that email was first shown. More...
 
bool pager_redraw
 Force a complete redraw. More...
 
enum PagerLoopMode loop
 What the Event Loop should do next, e.g. PAGER_LOOP_CONTINUE. More...
 

Detailed Description

Private state data for the Pager.

Definition at line 40 of file private_data.h.

Field Documentation

◆ pview

struct PagerView* PagerPrivateData::pview

Object to view in the pager.

Definition at line 42 of file private_data.h.

◆ fp

FILE* PagerPrivateData::fp

File containing decrypted/decoded/weeded Email.

Definition at line 44 of file private_data.h.

◆ st

struct stat PagerPrivateData::st

Stats about Email file.

Definition at line 45 of file private_data.h.

◆ bytes_read

LOFF_T PagerPrivateData::bytes_read

Number of bytes read from file.

Definition at line 46 of file private_data.h.

◆ lines

struct Line* PagerPrivateData::lines

Array of text lines in pager.

Definition at line 48 of file private_data.h.

◆ lines_used

int PagerPrivateData::lines_used

Size of lines array (used entries)

Definition at line 49 of file private_data.h.

◆ lines_max

int PagerPrivateData::lines_max

Capacity of lines array (total entries)

Definition at line 50 of file private_data.h.

◆ cur_line

int PagerPrivateData::cur_line

Current line (last line visible on screen)

Definition at line 51 of file private_data.h.

◆ old_top_line

int PagerPrivateData::old_top_line

Old top line, used for repainting.

Definition at line 53 of file private_data.h.

◆ win_height

int PagerPrivateData::win_height

Number of lines in the Window.

Definition at line 54 of file private_data.h.

◆ top_line

int PagerPrivateData::top_line

First visible line on screen.

Definition at line 55 of file private_data.h.

◆ has_types

int PagerPrivateData::has_types

Set to MUTT_TYPES for PAGER_MODE_EMAIL or MUTT_SHOWCOLOR.

Definition at line 56 of file private_data.h.

◆ quote_list

struct QuoteStyle* PagerPrivateData::quote_list

Tree of quoting levels.

Definition at line 58 of file private_data.h.

◆ q_level

int PagerPrivateData::q_level

Number of unique quoting levels.

Definition at line 59 of file private_data.h.

◆ hide_quoted

PagerFlags PagerPrivateData::hide_quoted

Set to MUTT_HIDE when quoted email is hidden <toggle-quoted>

Definition at line 60 of file private_data.h.

◆ search_flag

PagerFlags PagerPrivateData::search_flag

Set to MUTT_SEARCH when search results are visible <search-toggle>

Definition at line 62 of file private_data.h.

◆ search_str

char PagerPrivateData::search_str[256]

Current search string.

Definition at line 63 of file private_data.h.

◆ search_compiled

bool PagerPrivateData::search_compiled

Search regex is in use.

Definition at line 64 of file private_data.h.

◆ search_re

regex_t PagerPrivateData::search_re

Compiled search string.

Definition at line 65 of file private_data.h.

◆ search_back

bool PagerPrivateData::search_back

Search backwards.

Definition at line 66 of file private_data.h.

◆ force_redraw

bool PagerPrivateData::force_redraw

Repaint is needed.

Definition at line 68 of file private_data.h.

◆ redraw

PagerRedrawFlags PagerPrivateData::redraw

When to redraw the screen.

Definition at line 69 of file private_data.h.

◆ ansi_list

struct AttrColorList PagerPrivateData::ansi_list

List of ANSI colours used in the Pager.

Definition at line 70 of file private_data.h.

◆ notify

struct Notify* PagerPrivateData::notify

Notifications: NotifyPager, PagerPrivateData.

Definition at line 71 of file private_data.h.

◆ rc

int PagerPrivateData::rc

Return code from functions.

Definition at line 73 of file private_data.h.

◆ searchctx

int PagerPrivateData::searchctx

Space to show around search matches.

Definition at line 74 of file private_data.h.

◆ first

bool PagerPrivateData::first

First time flag for toggle-new.

Definition at line 75 of file private_data.h.

◆ wrapped

bool PagerPrivateData::wrapped

Has the search/next wrapped around?

Definition at line 76 of file private_data.h.

◆ delay_read_timestamp

uint64_t PagerPrivateData::delay_read_timestamp

Time that email was first shown.

Definition at line 77 of file private_data.h.

◆ pager_redraw

bool PagerPrivateData::pager_redraw

Force a complete redraw.

Definition at line 78 of file private_data.h.

◆ loop

enum PagerLoopMode PagerPrivateData::loop

What the Event Loop should do next, e.g. PAGER_LOOP_CONTINUE.

Definition at line 79 of file private_data.h.


The documentation for this struct was generated from the following file: