mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
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.
This commit is contained in:
@@ -326,7 +326,7 @@ static int s_findrep_is_find; /* TRUE for find dialog, FALSE
|
||||
#endif
|
||||
|
||||
static HINSTANCE s_hinst = NULL;
|
||||
#if !defined(FEAT_SNIFF) && !defined(FEAT_GUI)
|
||||
#if !defined(FEAT_GUI)
|
||||
static
|
||||
#endif
|
||||
HWND s_hwnd = NULL;
|
||||
@@ -1927,23 +1927,6 @@ process_message(void)
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef FEAT_SNIFF
|
||||
if (sniff_request_waiting && want_sniff_request)
|
||||
{
|
||||
static char_u bytes[3] = {CSI, (char_u)KS_EXTRA, (char_u)KE_SNIFF};
|
||||
add_to_input_buf(bytes, 3); /* K_SNIFF */
|
||||
sniff_request_waiting = 0;
|
||||
want_sniff_request = 0;
|
||||
/* request is handled in normal.c */
|
||||
}
|
||||
if (msg.message == WM_USER)
|
||||
{
|
||||
MyTranslateMessage(&msg);
|
||||
pDispatchMessage(&msg);
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef MSWIN_FIND_REPLACE
|
||||
/* Don't process messages used by the dialog */
|
||||
if (s_findrep_hwnd != NULL && pIsDialogMessage(s_findrep_hwnd, &msg))
|
||||
|
Reference in New Issue
Block a user