/* List of font patterns available to the editor */
static char* Fonts[2] = {
- "Verdana:size=11",
-#ifdef __MACH__
- "Monaco:size=11"
-#else
- "Liberation Mono:size=11"
-#endif
+ "Verdana:size=12",
+ "Liberation Mono:size=12"
};
#ifdef INCLUDE_DEFS
/* Integer config options */
-int WinWidth = 640; /* default window width */
-int WinHeight = 480; /* default window height */
-int ScrollWidth = 5; /* width in pixels of the scrollbar */
-int Timeout = 100; /* number of milliseconds to wait before poll() times out */
-int TabWidth = 4; /* number of spaces tab characters will be expanded to */
-int ScrollBy = 1; /* number of lines to scroll by on mouse wheel events */
-int ClickTime = 500; /* number of milliseconds after a click wehre multi-clicks will be recognized */
-int CopyIndent = On; /* whether indentation should be copied from previous line or not */
-int TrimOnSave = On; /* whether trailing whitespace should be removed on save or not */
-int ExpandTabs = On; /* whether tab characters should be expanded to spaces or not */
+int WinWidth = 640; /* default window width */
+int WinHeight = 480; /* default window height */
+int ScrollWidth = 8; /* width in pixels of the scrollbar */
+int Timeout = 100; /* number of milliseconds to wait before poll() times out */
+int TabWidth = 4; /* number of spaces tab characters will be expanded to */
+int ScrollBy = 1; /* number of lines to scroll by on mouse wheel events */
+int ClickTime = 500; /* number of milliseconds after a click wehre multi-clicks will be recognized */
+int CopyIndent = On; /* whether indentation should be copied from previous line or not */
+int TrimOnSave = On; /* whether trailing whitespace should be removed on save or not */
+int ExpandTabs = On; /* whether tab characters should be expanded to spaces or not */
int DosLineFeed = Off; /* use \r\n line endings by default */
+int Margin = 50;
#else
extern int WinWidth, WinHeight, ScrollWidth, Timeout, TabWidth, ScrollBy,
- ClickTime, CopyIndent, TrimOnSave, ExpandTabs, DosLineFeed;
+ ClickTime, CopyIndent, TrimOnSave, ExpandTabs, DosLineFeed, Margin;
#endif
static int Palette[ClrCount] = {
-#if 1 /* Original Acme Colors */
+#if 0 /* Original Acme Colors */
[EditBg] = 0xFFFFEA, /* Edit region background */
[EditFg] = 0x000000, /* Edit region text */
[EditSel] = 0xEEEE9E, /* Edit region selection */
[Red] = 0xCC0000, /* Red */
[Orange] = 0xFF7700, /* Orange */
#else
- [Red] = 0xD1160B, /* Red */
- [Purple] = 0x7878BA, /* Purple */
- [Orange] = 0xF39812, /* Orange */
- [EditBg] = 0xF0F0E5, /* Edit region background */
- [EditFg] = 0x000000, /* Edit region text */
- [EditSel] = 0xDFDF99, /* Edit region selection */
- [TagsBg] = 0xE5F0F0, /* Tags region background */
- [TagsFg] = 0x000000, /* Tags region text */
- [TagsSel] = 0x99DFDF, /* Tags region selection */
- [ScrollBg] = 0x909047, /* Scroll region background */
- [ScrollFg] = 0xF0F0E5, /* Scroll region foreground */
- [VerBdr] = 0x909047, /* Vertical border */
- [HorBdr] = 0x000000, /* Horizontal border */
- [Point] = 0x98BE8F, /* Window border */
+ [EditBg] = 0xF5F5F0, /* Edit region background */
+ [EditFg] = 0x222222, /* Edit region text */
+ [EditSel] = 0xAACCEE, /* Edit region selection */
+
+ [TagsBg] = 0xF5F5F0, /* Tags region background */
+ [TagsFg] = 0x222222, /* Tags region text */
+ [TagsSel] = 0xAACCEE, /* Tags region selection */
+
+ [ScrollBg] = 0x959590, /* Scroll region background */
+ [ScrollFg] = 0xF5F5F0, /* Scroll region foreground */
+
+ [VerBdr] = 0x959590, /* Vertical border */
+ [HorBdr] = 0x222222, /* Horizontal border */
+
+ [Point] = 0xD5D5D0, /* Point background */
+ [Purple] = 0x6666CC, /* Purple */
+ [Red] = 0xCC0000, /* Red */
+ [Orange] = 0xFF7700, /* Orange */
#endif
};