Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
883d32dd
Commit
883d32dd
authored
Apr 28, 2009
by
Eric Pouech
Committed by
Alexandre Julliard
Apr 29, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Completely get rid of ENHANCED_KEY entry in the keymap.
This fixes the ctrl-arrow support which has been broken by
67be3530
.
parent
5265e0f2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
18 deletions
+10
-18
editline.c
dlls/kernel32/editline.c
+10
-18
No files found.
dlls/kernel32/editline.c
View file @
883d32dd
...
...
@@ -656,13 +656,6 @@ static const KeyEntry StdKeyMap[] =
{
0
,
NULL
}
};
static
const
KeyEntry
Win32ExtraStdKeyMap
[]
=
{
{
/*VK_F8*/
0x77
,
WCEL_FindPrevInHist
},
{
0
,
NULL
}
};
static
const
KeyEntry
EmacsKeyMapCtrl
[]
=
{
{
CTRL
(
'@'
),
WCEL_SetMark
},
...
...
@@ -712,9 +705,8 @@ static const KeyEntry EmacsKeyMapAlt[] =
{
0
,
NULL
}
};
static
const
KeyEntry
Emacs
KeyMapExtended
[]
=
static
const
KeyEntry
Emacs
StdKeyMap
[]
=
{
{
/*RETURN*/
0x0d
,
WCEL_Done
},
{
/*VK_PRIOR*/
0x21
,
WCEL_MoveToPrevHist
},
{
/*VK_NEXT*/
0x22
,
WCEL_MoveToNextHist
},
{
/*VK_END*/
0x23
,
WCEL_MoveToEnd
},
...
...
@@ -728,15 +720,15 @@ static const KeyEntry EmacsKeyMapExtended[] =
static
const
KeyMap
EmacsKeyMap
[]
=
{
{
0
,
1
,
StdKeyMap
},
{
0
,
0
,
EmacsStdKeyMap
},
{
RIGHT_ALT_PRESSED
,
1
,
EmacsKeyMapAlt
},
/* right alt */
{
LEFT_ALT_PRESSED
,
1
,
EmacsKeyMapAlt
},
/* left alt */
{
RIGHT_CTRL_PRESSED
,
1
,
EmacsKeyMapCtrl
},
/* right ctrl */
{
LEFT_CTRL_PRESSED
,
1
,
EmacsKeyMapCtrl
},
/* left ctrl */
{
ENHANCED_KEY
,
0
,
EmacsKeyMapExtended
},
{
0
,
0
,
NULL
}
};
static
const
KeyEntry
Win32
KeyMapExtended
[]
=
static
const
KeyEntry
Win32
StdKeyMap
[]
=
{
{
/*VK_LEFT*/
0x25
,
WCEL_MoveLeft
},
{
/*VK_RIGHT*/
0x27
,
WCEL_MoveRight
},
...
...
@@ -745,10 +737,11 @@ static const KeyEntry Win32KeyMapExtended[] =
{
/*VK_UP*/
0x26
,
WCEL_MoveToPrevHist
},
{
/*VK_DOWN*/
0x28
,
WCEL_MoveToNextHist
},
{
/*VK_DEL*/
0x2e
,
WCEL_DeleteCurrChar
},
{
/*VK_F8*/
0x77
,
WCEL_FindPrevInHist
},
{
0
,
NULL
}
};
static
const
KeyEntry
Win32KeyMapCtrl
Extended
[]
=
static
const
KeyEntry
Win32KeyMapCtrl
[]
=
{
{
/*VK_LEFT*/
0x25
,
WCEL_MoveToLeftWord
},
{
/*VK_RIGHT*/
0x27
,
WCEL_MoveToRightWord
},
...
...
@@ -758,12 +751,11 @@ static const KeyEntry Win32KeyMapCtrlExtended[] =
static
const
KeyMap
Win32KeyMap
[]
=
{
{
0
,
1
,
StdKeyMap
},
{
0
,
0
,
Win32ExtraStdKeyMap
},
{
ENHANCED_KEY
,
0
,
Win32KeyMapExtended
},
{
ENHANCED_KEY
|
RIGHT_CTRL_PRESSED
,
0
,
Win32KeyMapCtrlExtended
},
{
ENHANCED_KEY
|
LEFT_CTRL_PRESSED
,
0
,
Win32KeyMapCtrlExtended
},
{
0
,
0
,
NULL
}
{
0
,
1
,
StdKeyMap
},
{
0
,
0
,
Win32StdKeyMap
},
{
RIGHT_CTRL_PRESSED
,
0
,
Win32KeyMapCtrl
},
{
LEFT_CTRL_PRESSED
,
0
,
Win32KeyMapCtrl
},
{
0
,
0
,
NULL
}
};
#undef CTRL
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment