Mercurial > vim
comparison src/normal.c @ 8281:74b15ed0a259 v7.4.1433
commit https://github.com/vim/vim/commit/85b11769ab507c7df93f319fd964fa579701b76b
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Feb 27 18:13:23 2016 +0100
patch 7.4.1433
Problem: The Sniff interface is no longer useful, the tool has not been
available for may years.
Solution: Delete the Sniff interface and related code.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 27 Feb 2016 18:15:07 +0100 |
parents | 10f17a228661 |
children | dd2e2bd69d0e |
comparison
equal
deleted
inserted
replaced
8280:65bed5ff0ba6 | 8281:74b15ed0a259 |
---|---|
161 static void nv_at(cmdarg_T *cap); | 161 static void nv_at(cmdarg_T *cap); |
162 static void nv_halfpage(cmdarg_T *cap); | 162 static void nv_halfpage(cmdarg_T *cap); |
163 static void nv_join(cmdarg_T *cap); | 163 static void nv_join(cmdarg_T *cap); |
164 static void nv_put(cmdarg_T *cap); | 164 static void nv_put(cmdarg_T *cap); |
165 static void nv_open(cmdarg_T *cap); | 165 static void nv_open(cmdarg_T *cap); |
166 #ifdef FEAT_SNIFF | |
167 static void nv_sniff(cmdarg_T *cap); | |
168 #endif | |
169 #ifdef FEAT_NETBEANS_INTG | 166 #ifdef FEAT_NETBEANS_INTG |
170 static void nv_nbcmd(cmdarg_T *cap); | 167 static void nv_nbcmd(cmdarg_T *cap); |
171 #endif | 168 #endif |
172 #ifdef FEAT_DND | 169 #ifdef FEAT_DND |
173 static void nv_drop(cmdarg_T *cap); | 170 static void nv_drop(cmdarg_T *cap); |
418 #endif | 415 #endif |
419 #ifdef FEAT_FKMAP | 416 #ifdef FEAT_FKMAP |
420 {K_F8, farsi_fkey, 0, 0}, | 417 {K_F8, farsi_fkey, 0, 0}, |
421 {K_F9, farsi_fkey, 0, 0}, | 418 {K_F9, farsi_fkey, 0, 0}, |
422 #endif | 419 #endif |
423 #ifdef FEAT_SNIFF | |
424 {K_SNIFF, nv_sniff, 0, 0}, | |
425 #endif | |
426 #ifdef FEAT_NETBEANS_INTG | 420 #ifdef FEAT_NETBEANS_INTG |
427 {K_F21, nv_nbcmd, NV_NCH_ALW, 0}, | 421 {K_F21, nv_nbcmd, NV_NCH_ALW, 0}, |
428 #endif | 422 #endif |
429 #ifdef FEAT_DND | 423 #ifdef FEAT_DND |
430 {K_DROP, nv_drop, NV_STS, 0}, | 424 {K_DROP, nv_drop, NV_STS, 0}, |
567 | 561 |
568 /* Use a count remembered from before entering an operator. After typing | 562 /* Use a count remembered from before entering an operator. After typing |
569 * "3d" we return from normal_cmd() and come back here, the "3" is | 563 * "3d" we return from normal_cmd() and come back here, the "3" is |
570 * remembered in "opcount". */ | 564 * remembered in "opcount". */ |
571 ca.opcount = opcount; | 565 ca.opcount = opcount; |
572 | |
573 #ifdef FEAT_SNIFF | |
574 want_sniff_request = sniff_connected; | |
575 #endif | |
576 | 566 |
577 /* | 567 /* |
578 * If there is an operator pending, then the command we take this time | 568 * If there is an operator pending, then the command we take this time |
579 * will terminate it. Finish_op tells us to finish the operation before | 569 * will terminate it. Finish_op tells us to finish the operation before |
580 * returning this time (unless the operation was cancelled). | 570 * returning this time (unless the operation was cancelled). |
9386 v_swap_corners(cap->cmdchar); | 9376 v_swap_corners(cap->cmdchar); |
9387 else | 9377 else |
9388 n_opencmd(cap); | 9378 n_opencmd(cap); |
9389 } | 9379 } |
9390 | 9380 |
9391 #ifdef FEAT_SNIFF | |
9392 static void | |
9393 nv_sniff(cmdarg_T *cap UNUSED) | |
9394 { | |
9395 ProcessSniffRequests(); | |
9396 } | |
9397 #endif | |
9398 | |
9399 #ifdef FEAT_NETBEANS_INTG | 9381 #ifdef FEAT_NETBEANS_INTG |
9400 static void | 9382 static void |
9401 nv_nbcmd(cmdarg_T *cap) | 9383 nv_nbcmd(cmdarg_T *cap) |
9402 { | 9384 { |
9403 netbeans_keycommand(cap->nchar); | 9385 netbeans_keycommand(cap->nchar); |