wine/win32 editline.c

Eric Pouech eric.pouech at wanadoo.fr
Tue Apr 30 16:39:33 CDT 2002


Alexandre Julliard a écrit :
> Modified files:
>         win32          : editline.c
> 
> Log message:
>         Jason Edmeades <us at the-edmeades.demon.co.uk>
>         - Added f8 (history retrieval from partial command) support
>         - Delete key deletes current character
>         - Ctrl + end deletes to end of line
>         - Ctrl + right stopped before the word itself
<patch excerpt>
static KeyEntry EmacsKeyMapCtrl[] = 
 {
     {  CTRL('@'),      WCEL_SetMark            },
@@ -617,6 +664,7 @@
     {/*VK_END*/  0x23, WCEL_MoveToEnd          },
     {/*VK_UP*/   0x26,         WCEL_MoveToPrevHist     },
     {/*VK_DOWN*/ 0x28, WCEL_MoveToNextHist     },
+    {/*VK_DEL*/  0x2e, WCEL_FindPrevInHist /*L_DeleteCurrChar*/       
},
     {  0,              NULL                    }
 };
</patch excerpt>

there's a typo in the patch. the VK_DEL entry should point to
WCEL_DeleteCurrChar and not to WCEL_FindPrevInHist

A+



More information about the wine-devel mailing list