-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.h
43 lines (31 loc) · 1.26 KB
/
config.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#ifdef _DEBUG
//define SHEDIT_DEBUG
//define SHEDIT_DEBUG_COPY_DRAW
//define SHEDIT_DEBUG_LOGGING //enables logging to files
//define SHEDIT_DEBUG_UNDO //test undo each time a change is made to buffer
//define SHEDIT_DEBUG_FORCE_SHORTCUTTS //disables onkey_whatever events that may override the debug keys
//define SHEDIT_DEBUG_PARSELINELOOP
//define SHEDIT_DEBUG_CURSOR //For debug of mouse-selection; disables movement updates
#endif
#define SHEDIT_DEBUG_REPAINT false
#ifndef _DEBUG
#define NDEBUG //disables asserts (iff this header is included before the assert header)
#endif
#define DOUBLE_BUFFERED
#define FULL_WIDTH_PAINT
#define TAB_WIDTH 2
//define DRAW_POS
#define ALLOW_TABS
#define KEEP_VIS_TOP 4
#define KEEP_VIS_BOTTOM 4
#define MARGINS 50 //for horizontal adjustment
#define PARSEINADVANCE 1000
#define PARSEINONEGO 100
#define DEFONTSIZE 10
//define QUICKDRAW //single, non-transparent pass vs double pass - should be much faster, but cuts off the rightmost pixel columns of some words
#define FORCELOOKAHEAD true
#define MAX_SCROLL_STEP 12
#define Y_OFF 0
#define X_OFF 2
#define FIXSCREENTOP
//NOTICE: what is not (un)set as default is NOT guaranteed to work