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
194c3f25
Commit
194c3f25
authored
Feb 25, 2007
by
Alexander Nicolaysen Sørnes
Committed by
Alexandre Julliard
Feb 26, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wordpad: Make edit menu more like native.
parent
a53eab60
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
39 additions
and
18 deletions
+39
-18
De.rc
programs/wordpad/De.rc
+3
-1
En.rc
programs/wordpad/En.rc
+3
-1
Fr.rc
programs/wordpad/Fr.rc
+8
-6
Hu.rc
programs/wordpad/Hu.rc
+3
-1
Nl.rc
programs/wordpad/Nl.rc
+3
-1
No.rc
programs/wordpad/No.rc
+8
-6
Pl.rc
programs/wordpad/Pl.rc
+3
-1
Tr.rc
programs/wordpad/Tr.rc
+3
-1
resource.h
programs/wordpad/resource.h
+1
-0
wordpad.c
programs/wordpad/wordpad.c
+4
-0
No files found.
programs/wordpad/De.rc
View file @
194c3f25
...
@@ -32,10 +32,12 @@ BEGIN
...
@@ -32,10 +32,12 @@ BEGIN
BEGIN
BEGIN
MENUITEM "&Rckgngig\tCtrl+Z", ID_EDIT_UNDO
MENUITEM "&Rckgngig\tCtrl+Z", ID_EDIT_UNDO
MENUITEM "&Wiederholen\tCtrl+Y", ID_EDIT_REDO
MENUITEM "&Wiederholen\tCtrl+Y", ID_EDIT_REDO
MENUITEM "&Alles markieren\tCtrl+A", ID_EDIT_SELECTALL
MENUITEM SEPARATOR
MENUITEM SEPARATOR
MENUITEM "Aus&schneiden\tCtrl+X", ID_EDIT_CUT
MENUITEM "Aus&schneiden\tCtrl+X", ID_EDIT_CUT
MENUITEM "&Kopieren\tCtrl+C", ID_EDIT_COPY
MENUITEM "&Kopieren\tCtrl+C", ID_EDIT_COPY
MENUITEM "&Einfgen\tCtrl+V", ID_EDIT_PASTE
MENUITEM "&Lschen\tDEL", ID_EDIT_CLEAR
MENUITEM "&Alles markieren\tCtrl+A", ID_EDIT_SELECTALL
MENUITEM SEPARATOR
MENUITEM SEPARATOR
MENUITEM "Schreibgesch&tzt", ID_EDIT_READONLY
MENUITEM "Schreibgesch&tzt", ID_EDIT_READONLY
MENUITEM "&Gendert", ID_EDIT_MODIFIED
MENUITEM "&Gendert", ID_EDIT_MODIFIED
...
...
programs/wordpad/En.rc
View file @
194c3f25
...
@@ -32,10 +32,12 @@ BEGIN
...
@@ -32,10 +32,12 @@ BEGIN
BEGIN
BEGIN
MENUITEM "&Undo\tCtrl+Z", ID_EDIT_UNDO
MENUITEM "&Undo\tCtrl+Z", ID_EDIT_UNDO
MENUITEM "&Redo\tCtrl+Y", ID_EDIT_REDO
MENUITEM "&Redo\tCtrl+Y", ID_EDIT_REDO
MENUITEM "&Select all\tCtrl+A", ID_EDIT_SELECTALL
MENUITEM SEPARATOR
MENUITEM SEPARATOR
MENUITEM "Cu&t\tCtrl+X", ID_EDIT_CUT
MENUITEM "Cu&t\tCtrl+X", ID_EDIT_CUT
MENUITEM "&Copy\tCtrl+C", ID_EDIT_COPY
MENUITEM "&Copy\tCtrl+C", ID_EDIT_COPY
MENUITEM "&Paste\tCtrl+V", ID_EDIT_PASTE
MENUITEM "&Clear\tDEL", ID_EDIT_CLEAR
MENUITEM "&Select all\tCtrl+A", ID_EDIT_SELECTALL
MENUITEM SEPARATOR
MENUITEM SEPARATOR
MENUITEM "Read-&only", ID_EDIT_READONLY
MENUITEM "Read-&only", ID_EDIT_READONLY
MENUITEM "&Modified", ID_EDIT_MODIFIED
MENUITEM "&Modified", ID_EDIT_MODIFIED
...
...
programs/wordpad/Fr.rc
View file @
194c3f25
...
@@ -30,15 +30,17 @@ BEGIN
...
@@ -30,15 +30,17 @@ BEGIN
END
END
POPUP "&dition"
POPUP "&dition"
BEGIN
BEGIN
MENUITEM "&Annuler\tCtrl+Z", ID_EDIT_UNDO
MENUITEM "&Annuler\tCtrl+Z", ID_EDIT_UNDO
MENUITEM "&Rpter\tCtrl+Y", ID_EDIT_REDO
MENUITEM "&Rpter\tCtrl+Y", ID_EDIT_REDO
MENUITEM "&Slectionner tout\tCtrl+A", ID_EDIT_SELECTALL
MENUITEM SEPARATOR
MENUITEM SEPARATOR
MENUITEM "&Couper\tCtrl+X", ID_EDIT_CUT
MENUITEM "&Couper\tCtrl+X", ID_EDIT_CUT
MENUITEM "Co&pier\tCtrl+C", ID_EDIT_COPY
MENUITEM "Co&pier\tCtrl+C", ID_EDIT_COPY
MENUITEM "C&oller\tCtrl+V", ID_EDIT_PASTE
MENUITEM "&Effacer\tDel", ID_EDIT_CLEAR
MENUITEM "&Slectionner tout\tCtrl+A", ID_EDIT_SELECTALL
MENUITEM SEPARATOR
MENUITEM SEPARATOR
MENUITEM "Lecture-&seule", ID_EDIT_READONLY
MENUITEM "Lecture-&seule", ID_EDIT_READONLY
MENUITEM "&Modifi", ID_EDIT_MODIFIED
MENUITEM "&Modifi",
ID_EDIT_MODIFIED
MENUITEM SEPARATOR
MENUITEM SEPARATOR
POPUP "&Avancs"
POPUP "&Avancs"
BEGIN
BEGIN
...
...
programs/wordpad/Hu.rc
View file @
194c3f25
...
@@ -32,10 +32,12 @@ BEGIN
...
@@ -32,10 +32,12 @@ BEGIN
BEGIN
BEGIN
MENUITEM "&Visszavons\tCtrl+Z", ID_EDIT_UNDO
MENUITEM "&Visszavons\tCtrl+Z", ID_EDIT_UNDO
MENUITEM "&Elre\tCtrl+Y", ID_EDIT_REDO
MENUITEM "&Elre\tCtrl+Y", ID_EDIT_REDO
MENUITEM "M&indet kijelli\tCtrl+A", ID_EDIT_SELECTALL
MENUITEM SEPARATOR
MENUITEM SEPARATOR
MENUITEM "Kiv&gs\tCtrl+X", ID_EDIT_CUT
MENUITEM "Kiv&gs\tCtrl+X", ID_EDIT_CUT
MENUITEM "M&sols\tCtrl+C", ID_EDIT_COPY
MENUITEM "M&sols\tCtrl+C", ID_EDIT_COPY
MENUITEM "&Beilleszts\tCtrl+V", ID_EDIT_PASTE
MENUITEM "Tr&ls\tDel", ID_EDIT_CLEAR
MENUITEM "M&indet kijelli\tCtrl+A", ID_EDIT_SELECTALL
MENUITEM SEPARATOR
MENUITEM SEPARATOR
MENUITEM "Csak &olvashat", ID_EDIT_READONLY
MENUITEM "Csak &olvashat", ID_EDIT_READONLY
MENUITEM "M&dostva", ID_EDIT_MODIFIED
MENUITEM "M&dostva", ID_EDIT_MODIFIED
...
...
programs/wordpad/Nl.rc
View file @
194c3f25
...
@@ -32,10 +32,12 @@ BEGIN
...
@@ -32,10 +32,12 @@ BEGIN
BEGIN
BEGIN
MENUITEM "&Ongedaan maken\tCtrl+Z", ID_EDIT_UNDO
MENUITEM "&Ongedaan maken\tCtrl+Z", ID_EDIT_UNDO
MENUITEM "O&pnieuw\tCtrl+Y", ID_EDIT_REDO
MENUITEM "O&pnieuw\tCtrl+Y", ID_EDIT_REDO
MENUITEM "&Alles selecteren\tCtrl+A", ID_EDIT_SELECTALL
MENUITEM SEPARATOR
MENUITEM SEPARATOR
MENUITEM "K&nippen\tCtrl+X", ID_EDIT_CUT
MENUITEM "K&nippen\tCtrl+X", ID_EDIT_CUT
MENUITEM "&Kopieren\tCtrl+C", ID_EDIT_COPY
MENUITEM "&Kopieren\tCtrl+C", ID_EDIT_COPY
MENUITEM "&Plakken\tCtrl+V", ID_EDIT_PASTE
MENUITEM "&Verwijderen\tDel", ID_EDIT_CLEAR
MENUITEM "&Alles selecteren\tCtrl+A", ID_EDIT_SELECTALL
MENUITEM SEPARATOR
MENUITEM SEPARATOR
MENUITEM "Alleen &lezen", ID_EDIT_READONLY
MENUITEM "Alleen &lezen", ID_EDIT_READONLY
MENUITEM "&Gewijzigd", ID_EDIT_MODIFIED
MENUITEM "&Gewijzigd", ID_EDIT_MODIFIED
...
...
programs/wordpad/No.rc
View file @
194c3f25
...
@@ -30,14 +30,16 @@ BEGIN
...
@@ -30,14 +30,16 @@ BEGIN
END
END
POPUP "R&ediger"
POPUP "R&ediger"
BEGIN
BEGIN
MENUITEM "&Angre\tCtrl+Z", ID_EDIT_UNDO
MENUITEM "&Angre\tCtrl+Z", ID_EDIT_UNDO
MENUITEM "&Gjenta\tCtrl+Y", ID_EDIT_REDO
MENUITEM "&Gjenta\tCtrl+Y", ID_EDIT_REDO
MENUITEM "&Merk alt\tCtrl+A", ID_EDIT_SELECTALL
MENUITEM SEPARATOR
MENUITEM SEPARATOR
MENUITEM "Klipp u&t\tCtrl+X", ID_EDIT_CUT
MENUITEM "Klipp u&t\tCtrl+X", ID_EDIT_CUT
MENUITEM "&Kopier\tCtrl+C", ID_EDIT_COPY
MENUITEM "&Kopier\tCtrl+C", ID_EDIT_COPY
MENUITEM "&Lim inn\tCtrl+V", ID_EDIT_PASTE
MENUITEM "&Fjern\tDEL", ID_EDIT_CLEAR
MENUITEM "&Merk alt\tCtrl+A", ID_EDIT_SELECTALL
MENUITEM SEPARATOR
MENUITEM SEPARATOR
MENUITEM "&Skrivebeskyttet",
ID_EDIT_READONLY
MENUITEM "&Skrivebeskyttet", ID_EDIT_READONLY
MENUITEM "E&ndret", ID_EDIT_MODIFIED
MENUITEM "E&ndret", ID_EDIT_MODIFIED
MENUITEM SEPARATOR
MENUITEM SEPARATOR
POPUP "&Ekstra"
POPUP "&Ekstra"
...
...
programs/wordpad/Pl.rc
View file @
194c3f25
...
@@ -33,10 +33,12 @@ BEGIN
...
@@ -33,10 +33,12 @@ BEGIN
BEGIN
BEGIN
MENUITEM "&Cofnij\tCtrl+Z", ID_EDIT_UNDO
MENUITEM "&Cofnij\tCtrl+Z", ID_EDIT_UNDO
MENUITEM "&Powtrz\tCtrl+Y", ID_EDIT_REDO
MENUITEM "&Powtrz\tCtrl+Y", ID_EDIT_REDO
MENUITEM "&Zaznacz wszystko\tCtrl+A", ID_EDIT_SELECTALL
MENUITEM SEPARATOR
MENUITEM SEPARATOR
MENUITEM "Wy&tnij\tCtrl+X", ID_EDIT_CUT
MENUITEM "Wy&tnij\tCtrl+X", ID_EDIT_CUT
MENUITEM "&Kopiuj\tCtrl+C", ID_EDIT_COPY
MENUITEM "&Kopiuj\tCtrl+C", ID_EDIT_COPY
MENUITEM "Wkl&ej\tCtrl+V", ID_EDIT_PASTE
MENUITEM "&Usu\tDel", ID_EDIT_CLEAR
MENUITEM "&Zaznacz wszystko\tCtrl+A", ID_EDIT_SELECTALL
MENUITEM SEPARATOR
MENUITEM SEPARATOR
MENUITEM "Tylko do &odczytu", ID_EDIT_READONLY
MENUITEM "Tylko do &odczytu", ID_EDIT_READONLY
MENUITEM "&Zmodifykowany", ID_EDIT_MODIFIED
MENUITEM "&Zmodifykowany", ID_EDIT_MODIFIED
...
...
programs/wordpad/Tr.rc
View file @
194c3f25
...
@@ -34,10 +34,12 @@ BEGIN
...
@@ -34,10 +34,12 @@ BEGIN
BEGIN
BEGIN
MENUITEM "&Geri Al\tCtrl+Z", ID_EDIT_UNDO
MENUITEM "&Geri Al\tCtrl+Z", ID_EDIT_UNDO
MENUITEM "&Yinele\tCtrl+Y", ID_EDIT_REDO
MENUITEM "&Yinele\tCtrl+Y", ID_EDIT_REDO
MENUITEM "&Tmn se\tCtrl+A", ID_EDIT_SELECTALL
MENUITEM SEPARATOR
MENUITEM SEPARATOR
MENUITEM "Ke&s\tCtrl+X", ID_EDIT_CUT
MENUITEM "Ke&s\tCtrl+X", ID_EDIT_CUT
MENUITEM "&Kopyala\tCtrl+C", ID_EDIT_COPY
MENUITEM "&Kopyala\tCtrl+C", ID_EDIT_COPY
MENUITEM "Ya&ptr\tCtrl+V", ID_EDIT_PASTE
MENUITEM "&Sil\tDel", ID_EDIT_CLEAR
MENUITEM "&Tmn se\tCtrl+A", ID_EDIT_SELECTALL
MENUITEM SEPARATOR
MENUITEM SEPARATOR
MENUITEM "Salt-&okunur", ID_EDIT_READONLY
MENUITEM "Salt-&okunur", ID_EDIT_READONLY
MENUITEM "&Deimi", ID_EDIT_MODIFIED
MENUITEM "&Deimi", ID_EDIT_MODIFIED
...
...
programs/wordpad/resource.h
View file @
194c3f25
...
@@ -46,6 +46,7 @@
...
@@ -46,6 +46,7 @@
#define ID_EDIT_COPY 1310
#define ID_EDIT_COPY 1310
#define ID_EDIT_CUT 1311
#define ID_EDIT_CUT 1311
#define ID_EDIT_PASTE 1312
#define ID_EDIT_PASTE 1312
#define ID_EDIT_CLEAR 1313
#define ID_FORMAT_BOLD 1400
#define ID_FORMAT_BOLD 1400
#define ID_FORMAT_ITALIC 1401
#define ID_FORMAT_ITALIC 1401
...
...
programs/wordpad/wordpad.c
View file @
194c3f25
...
@@ -377,6 +377,10 @@ static LRESULT OnCommand( HWND hWnd, WPARAM wParam, LPARAM lParam)
...
@@ -377,6 +377,10 @@ static LRESULT OnCommand( HWND hWnd, WPARAM wParam, LPARAM lParam)
PostMessage
(
hwndEditor
,
WM_PASTE
,
0
,
0
);
PostMessage
(
hwndEditor
,
WM_PASTE
,
0
,
0
);
break
;
break
;
case
ID_EDIT_CLEAR
:
PostMessage
(
hwndEditor
,
WM_CLEAR
,
0
,
0
);
break
;
case
ID_EDIT_SELECTALL
:
case
ID_EDIT_SELECTALL
:
{
{
CHARRANGE
range
=
{
0
,
-
1
};
CHARRANGE
range
=
{
0
,
-
1
};
...
...
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