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
28d9aafc
Commit
28d9aafc
authored
Mar 29, 2004
by
Lionel Ulmer
Committed by
Alexandre Julliard
Mar 29, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add some TRACEing to the edit control.
parent
e910efbc
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
edit.c
controls/edit.c
+7
-2
winecheck
tools/winecheck
+0
-0
No files found.
controls/edit.c
View file @
28d9aafc
...
@@ -53,6 +53,7 @@
...
@@ -53,6 +53,7 @@
#include "wine/unicode.h"
#include "wine/unicode.h"
#include "controls.h"
#include "controls.h"
#include "local.h"
#include "local.h"
#include "message.h"
#include "user.h"
#include "user.h"
#include "wine/debug.h"
#include "wine/debug.h"
...
@@ -422,7 +423,7 @@ static LRESULT WINAPI EditWndProc_common( HWND hwnd, UINT msg,
...
@@ -422,7 +423,7 @@ static LRESULT WINAPI EditWndProc_common( HWND hwnd, UINT msg,
EDITSTATE
*
es
=
(
EDITSTATE
*
)
GetWindowLongW
(
hwnd
,
0
);
EDITSTATE
*
es
=
(
EDITSTATE
*
)
GetWindowLongW
(
hwnd
,
0
);
LRESULT
result
=
0
;
LRESULT
result
=
0
;
TRACE
(
"hwnd=%p msg=%x
wparam=%x lparam=%lx
\n
"
,
hwnd
,
msg
,
wParam
,
lParam
);
TRACE
(
"hwnd=%p msg=%x
(%s) wparam=%x lparam=%lx
\n
"
,
hwnd
,
msg
,
SPY_GetMsgName
(
msg
,
hwnd
)
,
wParam
,
lParam
);
if
(
!
es
&&
msg
!=
WM_NCCREATE
)
if
(
!
es
&&
msg
!=
WM_NCCREATE
)
return
DefWindowProcT
(
hwnd
,
msg
,
wParam
,
lParam
,
unicode
);
return
DefWindowProcT
(
hwnd
,
msg
,
wParam
,
lParam
,
unicode
);
...
@@ -2129,6 +2130,7 @@ static void EDIT_SetCaretPos(EDITSTATE *es, INT pos,
...
@@ -2129,6 +2130,7 @@ static void EDIT_SetCaretPos(EDITSTATE *es, INT pos,
BOOL
after_wrap
)
BOOL
after_wrap
)
{
{
LRESULT
res
=
EDIT_EM_PosFromChar
(
es
,
pos
,
after_wrap
);
LRESULT
res
=
EDIT_EM_PosFromChar
(
es
,
pos
,
after_wrap
);
TRACE
(
"%d - %dx%d
\n
"
,
pos
,
(
short
)
LOWORD
(
res
),
(
short
)
HIWORD
(
res
));
SetCaretPos
((
short
)
LOWORD
(
res
),
(
short
)
HIWORD
(
res
));
SetCaretPos
((
short
)
LOWORD
(
res
),
(
short
)
HIWORD
(
res
));
}
}
...
@@ -4772,7 +4774,10 @@ static LRESULT EDIT_WM_VScroll(EDITSTATE *es, INT action, INT pos)
...
@@ -4772,7 +4774,10 @@ static LRESULT EDIT_WM_VScroll(EDITSTATE *es, INT action, INT pos)
case
SB_LINEDOWN
:
case
SB_LINEDOWN
:
case
SB_PAGEUP
:
case
SB_PAGEUP
:
case
SB_PAGEDOWN
:
case
SB_PAGEDOWN
:
TRACE
(
"action %d
\n
"
,
action
);
TRACE
(
"action %d (%s)
\n
"
,
action
,
(
action
==
SB_LINEUP
?
"SB_LINEUP"
:
(
action
==
SB_LINEDOWN
?
"SB_LINEDOWN"
:
(
action
==
SB_PAGEUP
?
"SB_PAGEUP"
:
"SB_PAGEDOWN"
))));
EDIT_EM_Scroll
(
es
,
action
);
EDIT_EM_Scroll
(
es
,
action
);
return
0
;
return
0
;
case
SB_TOP
:
case
SB_TOP
:
...
...
tools/winecheck
deleted
100755 → 0
View file @
e910efbc
This diff is collapsed.
Click to expand it.
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