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
c804e3ea
Commit
c804e3ea
authored
May 23, 2000
by
Ulrich Czekalla
Committed by
Alexandre Julliard
May 23, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Capture ^V,^X,^C and translate it to the corresponding message for
paste, cut, copy.
parent
1113706c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
8 deletions
+6
-8
edit.c
controls/edit.c
+6
-8
No files found.
controls/edit.c
View file @
c804e3ea
...
...
@@ -2951,16 +2951,14 @@ static void EDIT_WM_Char(WND *wnd, EDITSTATE *es, CHAR c, DWORD key_data)
}
}
break
;
case
0x03
:
/*
Ctrl-
C */
EDIT_WM_Copy
(
wnd
,
es
);
case
0x03
:
/*
^
C */
SendMessageA
(
wnd
->
hwndSelf
,
WM_COPY
,
0
,
0
);
break
;
case
0x16
:
/* Ctrl-V */
if
(
!
(
es
->
style
&
ES_READONLY
))
EDIT_WM_Paste
(
wnd
,
es
);
case
0x16
:
/* ^V */
SendMessageA
(
wnd
->
hwndSelf
,
WM_PASTE
,
0
,
0
);
break
;
case
0x18
:
/* Ctrl-X */
if
(
!
(
es
->
style
&
ES_READONLY
))
EDIT_WM_Cut
(
wnd
,
es
);
case
0x18
:
/* ^X */
SendMessageA
(
wnd
->
hwndSelf
,
WM_CUT
,
0
,
0
);
break
;
default:
...
...
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