comparison src/netbeans.c @ 1186:2de44d8f2cf1

updated for version 7.1b
author vimboss
date Thu, 10 May 2007 16:41:10 +0000
parents f927ca2cedb4
children 3b226f4693dc
comparison
equal deleted inserted replaced
1185:184d2020d8f1 1186:2de44d8f2cf1
1209 static int needupdate = 0; 1209 static int needupdate = 0;
1210 static int inAtomic = 0; 1210 static int inAtomic = 0;
1211 1211
1212 /* 1212 /*
1213 * Do the actual processing of a single netbeans command or function. 1213 * Do the actual processing of a single netbeans command or function.
1214 * The differance between a command and function is that a function 1214 * The difference between a command and function is that a function
1215 * gets a response (its required) but a command does not. 1215 * gets a response (it's required) but a command does not.
1216 * For arguments see comment for nb_parse_cmd(). 1216 * For arguments see comment for nb_parse_cmd().
1217 */ 1217 */
1218 static int 1218 static int
1219 nb_do_cmd( 1219 nb_do_cmd(
1220 int bufno, 1220 int bufno,
2943 } 2943 }
2944 } 2944 }
2945 2945
2946 2946
2947 /* 2947 /*
2948 * Send a keypress event back to netbeans. This usualy simulates some 2948 * Send a keypress event back to netbeans. This usually simulates some
2949 * kind of function key press. This function operates on a key code. 2949 * kind of function key press. This function operates on a key code.
2950 */ 2950 */
2951 void 2951 void
2952 netbeans_keycommand(int key) 2952 netbeans_keycommand(int key)
2953 { 2953 {
2957 netbeans_keystring(key, keyName); 2957 netbeans_keystring(key, keyName);
2958 } 2958 }
2959 2959
2960 2960
2961 /* 2961 /*
2962 * Send a keypress event back to netbeans. This usualy simulates some 2962 * Send a keypress event back to netbeans. This usually simulates some
2963 * kind of function key press. This function operates on a key string. 2963 * kind of function key press. This function operates on a key string.
2964 */ 2964 */
2965 static void 2965 static void
2966 netbeans_keystring(int key, char *keyName) 2966 netbeans_keystring(int key, char *keyName)
2967 { 2967 {