set_highlight flags
Passed as 'flags' parameter to set_highlight() More...
Macros | |
#define | HIF_IDENTIFIER 0x1 |
text is an identifier (i.e., when searching for the current highlight, SEARCH_IDENT will be used) | |
#define | HIF_REGISTER 0x2 |
text represents a register (aliases/subregisters will be highlit as well) | |
#define | HIF_LOCKED 0x4 |
locked; clicking/moving the cursor around doesn't change the highlight | |
#define | HIF_NOCASE 0x8 |
case insensitive | |
#define | HIF_USE_SLOT (1 << 27) |
use the given number, or just use the "floating" highlight | |
#define | HIF_SLOT_SHIFT 28 |
position of the 3 top bits specifying which highlight to use | |
#define | HIF_GET_SLOT(flags) (((flags) >> HIF_SLOT_SHIFT) & 0x7) |
retrieve the highlight number to use (if HIF_USE_SLOT) | |
#define | HIF_SLOT_0 (HIF_USE_SLOT | (0 << HIF_SLOT_SHIFT)) |
operate on slot 0 | |
#define | HIF_SLOT_1 (HIF_USE_SLOT | (1 << HIF_SLOT_SHIFT)) |
operate on slot 1 | |
#define | HIF_SLOT_2 (HIF_USE_SLOT | (2 << HIF_SLOT_SHIFT)) |
operate on slot 2 | |
#define | HIF_SLOT_3 (HIF_USE_SLOT | (3 << HIF_SLOT_SHIFT)) |
operate on slot 3 | |
#define | HIF_SLOT_4 (HIF_USE_SLOT | (4 << HIF_SLOT_SHIFT)) |
operate on slot 4 | |
#define | HIF_SLOT_5 (HIF_USE_SLOT | (5 << HIF_SLOT_SHIFT)) |
operate on slot 5 | |
#define | HIF_SLOT_6 (HIF_USE_SLOT | (6 << HIF_SLOT_SHIFT)) |
operate on slot 6 | |
#define | HIF_SLOT_7 (HIF_USE_SLOT | (7 << HIF_SLOT_SHIFT)) |
operate on slot 7 | |
Detailed Description
Passed as 'flags' parameter to set_highlight()
Generated by 1.9.3