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
ff36ab09
Commit
ff36ab09
authored
Mar 24, 2021
by
Huw Davies
Committed by
Alexandre Julliard
Mar 24, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
riched20: Don't call update_caret() from the host.
Signed-off-by:
Huw Davies
<
huw@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
47fed8f5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
2 deletions
+1
-2
editor.c
dlls/riched20/editor.c
+0
-1
paint.c
dlls/riched20/paint.c
+1
-0
txthost.c
dlls/riched20/txthost.c
+0
-1
No files found.
dlls/riched20/editor.c
View file @
ff36ab09
...
...
@@ -1795,7 +1795,6 @@ static LRESULT ME_StreamIn(ME_TextEditor *editor, DWORD format, EDITSTREAM *stre
if
(
!
(
format
&
SFF_SELECTION
))
{
ME_ClearTempStyle
(
editor
);
}
update_caret
(
editor
);
ME_SendSelChange
(
editor
);
ME_SendRequestResize
(
editor
,
FALSE
);
...
...
dlls/riched20/paint.c
View file @
ff36ab09
...
...
@@ -131,6 +131,7 @@ void ME_UpdateRepaint(ME_TextEditor *editor, BOOL update_now)
/* Ensure that the cursor is visible */
editor_ensure_visible
(
editor
,
&
editor
->
pCursors
[
0
]
);
update_caret
(
editor
);
ITextHost_TxViewChange
(
editor
->
texthost
,
update_now
);
ME_SendSelChange
(
editor
);
...
...
dlls/riched20/txthost.c
View file @
ff36ab09
...
...
@@ -1186,7 +1186,6 @@ static LRESULT RichEditWndProc_common( HWND hwnd, UINT msg, WPARAM wparam,
PAINTSTRUCT
ps
;
HBRUSH
brush
=
CreateSolidBrush
(
ITextHost_TxGetSysColor
(
&
host
->
ITextHost_iface
,
COLOR_WINDOW
)
);
update_caret
(
editor
);
hdc
=
BeginPaint
(
editor
->
hWnd
,
&
ps
);
if
(
!
editor
->
bEmulateVersion10
||
(
editor
->
nEventMask
&
ENM_UPDATE
))
ME_SendOldNotify
(
editor
,
EN_UPDATE
);
...
...
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