Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
08f13cbd
Commit
08f13cbd
authored
Jan 29, 2011
by
Eric Pouech
Committed by
Alexandre Julliard
Jan 31, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Added support for ctrl-home (aka clear from beginning of line) in line…
kernel32: Added support for ctrl-home (aka clear from beginning of line) in line edition in win32 mode.
parent
7a57f02b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
editline.c
dlls/kernel32/editline.c
+11
-0
No files found.
dlls/kernel32/editline.c
View file @
08f13cbd
...
...
@@ -639,6 +639,16 @@ static void WCEL_KillToEndOfLine(WCEL_Context* ctx)
WCEL_DeleteString
(
ctx
,
ctx
->
ofs
,
ctx
->
len
);
}
static
void
WCEL_KillFromBegOfLine
(
WCEL_Context
*
ctx
)
{
if
(
ctx
->
ofs
)
{
WCEL_SaveYank
(
ctx
,
0
,
ctx
->
ofs
);
WCEL_DeleteString
(
ctx
,
0
,
ctx
->
ofs
);
ctx
->
ofs
=
0
;
}
}
static
void
WCEL_KillMarkedZone
(
WCEL_Context
*
ctx
)
{
unsigned
beg
,
end
;
...
...
@@ -883,6 +893,7 @@ static const KeyEntry Win32KeyMapCtrl[] =
{
/*VK_LEFT*/
0x25
,
WCEL_MoveToLeftWord
},
{
/*VK_RIGHT*/
0x27
,
WCEL_MoveToRightWord
},
{
/*VK_END*/
0x23
,
WCEL_KillToEndOfLine
},
{
/*VK_HOME*/
0x24
,
WCEL_KillFromBegOfLine
},
{
0
,
NULL
}
};
...
...
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