1 /* Copyright (c) 1992, 1998 John E. Davis 2 * This file is part of JED editor library source. 3 * 4 * You may distribute this file under the terms the GNU General Public 5 * License. See the file COPYING for more information. 6 */ 7 #ifndef JED_FEATURES_H 8 #define JED_FEATURES_H 9 10 /* If you want folding capibility, you MUST set JED_HAS_LINE_ATTRIBUTES to 1. 11 * In addition, JED_HAS_LINE_ATTRIBUTES must also be set to 1 for 12 * syntax highlighting to work properly. This adds an additional 4 13 * bytes per line overhead. You must also set JED_HAS_SAVE_NARROW to 14 * 1. It is also a good idea to set JED_HAS_BUFFER_LOCAL_VARS to 1 15 * since that will allow fold marks to vary on a buffer-by-buffer 16 * basis instead of a mode-by-mode basis. Summary: for folding or 17 * syntax highlighting, set the next 3 variables to 1. 18 */ 19 #define JED_HAS_LINE_ATTRIBUTES 1 20 #define JED_HAS_BUFFER_LOCAL_VARS 1 21 #define JED_HAS_SAVE_NARROW 1 22 23 /* Drop down menu support. */ 24 #define JED_HAS_MENUS 1 25 26 /* Double/Triple click support. This is currently supported by: 27 * 28 * X Windows 29 * GPM Mouse Driver (Linux) 30 * DJGPP version of jed 31 */ 32 #if defined(__unix__) || defined(VMS) || defined(__GO32__) || defined(MSWINDOWS) 33 # define JED_HAS_MULTICLICK 1 34 #else 35 # define JED_HAS_MULTICLICK 0 36 #endif 37 38 /* Asynchronous subprocess support. This is only available for Unix systems. 39 */ 40 #if defined(REAL_UNIX_SYSTEM) || defined(__WIN32__) || (defined(__EMX__) && defined(OS2)) 41 # define JED_HAS_SUBPROCESSES 1 42 #else 43 # define JED_HAS_SUBPROCESSES 0 44 #endif 45 46 #ifdef NeXT 47 # undef JED_HAS_SUBPROCESSES 48 # define JED_HAS_SUBPROCESSES 0 49 #endif 50 51 /* Enhanced syntax highlighting support. This is a much more sophisticated 52 * approach based on regular expressions. Experimental. 53 * 54 * Right now, DFA syntax highlighting is broken. Do NOT change this unless 55 * you first fix it!!! Be sure to send me the patches. 56 */ 57 #define JED_HAS_DFA_SYNTAX 0 58 59 /* Set JED_HAS_ABBREVS to 1 for the abbreviation feature. */ 60 #define JED_HAS_ABBREVS 1 61 #define JED_HAS_COLOR_COLUMNS 1 62 #define JED_HAS_LINE_MARKS 1 63 64 #define SUPPORT_CRONLY 1 65 66 #if !defined(JED_HAS_CANNA_SUPPORT) && !defined(__MSDOS__) 67 #define JED_HAS_CANNA_SUPPORT 1 68 #endif 69 70 #define KANJI_NEW_STUFF_BETA 1 71 #define LINE_WRAP 1 72 #endif 73