Data Structures | Macros
window.h File Reference
#include <stdbool.h>
#include "nvim/buffer_defs.h"
#include "nvim/mark.h"
#include "nvim/os/os.h"

Go to the source code of this file.

Data Structures

struct  switchwin_T
 Structure used by switch_win() to pass values to restore_win() More...
 

Macros

#define FNAME_MESS   1
 
#define FNAME_EXP   2
 
#define FNAME_HYP   4
 
#define FNAME_INCL   8
 
#define FNAME_REL   16
 
#define FNAME_UNESC   32
 
#define WSP_ROOM   1
 
#define WSP_VERT   2
 
#define WSP_TOP   4
 
#define WSP_BOT   8
 
#define WSP_HELP   16
 
#define WSP_BELOW   32
 
#define WSP_ABOVE   64
 
#define WSP_NEWLOC   128
 
#define MIN_COLUMNS   12
 
#define MIN_LINES   2
 
#define WIN_EXECUTE(wp, tp, block)
 

Macro Definition Documentation

◆ FNAME_EXP

#define FNAME_EXP   2

◆ FNAME_HYP

#define FNAME_HYP   4

◆ FNAME_INCL

#define FNAME_INCL   8

◆ FNAME_MESS

#define FNAME_MESS   1

◆ FNAME_REL

#define FNAME_REL   16

◆ FNAME_UNESC

#define FNAME_UNESC   32

◆ MIN_COLUMNS

#define MIN_COLUMNS   12

◆ MIN_LINES

#define MIN_LINES   2

◆ WIN_EXECUTE

#define WIN_EXECUTE (   wp,
  tp,
  block 
)

Execute a block of code in the context of window wp in tabpage tp. Ensures the status line is redrawn and cursor position is valid if it is moved.

◆ WSP_ABOVE

#define WSP_ABOVE   64

◆ WSP_BELOW

#define WSP_BELOW   32

◆ WSP_BOT

#define WSP_BOT   8

◆ WSP_HELP

#define WSP_HELP   16

◆ WSP_NEWLOC

#define WSP_NEWLOC   128

◆ WSP_ROOM

#define WSP_ROOM   1

◆ WSP_TOP

#define WSP_TOP   4

◆ WSP_VERT

#define WSP_VERT   2