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
4c7b65db
Commit
4c7b65db
authored
Nov 11, 2003
by
Huw Davies
Committed by
Alexandre Julliard
Nov 11, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
We need to invalidate the replaced text region before calling
EM_ScrollCaret as this may call ScrollWindow. Previously newly added lines were not displayed if the edit needed to scroll.
parent
f11b022f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
edit.c
controls/edit.c
+7
-6
No files found.
controls/edit.c
View file @
4c7b65db
...
...
@@ -2981,18 +2981,19 @@ static void EDIT_EM_ReplaceSel(EDITSTATE *es, BOOL can_undo, LPCWSTR lpsz_replac
EDIT_EM_SetSel
(
es
,
s
,
s
,
FALSE
);
es
->
flags
|=
EF_MODIFIED
;
if
(
send_update
)
es
->
flags
|=
EF_UPDATE
;
EDIT_EM_ScrollCaret
(
es
);
/* force scroll info update */
EDIT_UpdateScrollInfo
(
es
);
if
(
hrgn
)
{
EDIT_UpdateTextRegion
(
es
,
hrgn
,
TRUE
);
DeleteObject
(
hrgn
);
}
else
EDIT_UpdateText
(
es
,
NULL
,
TRUE
);
EDIT_UpdateText
(
es
,
NULL
,
TRUE
);
EDIT_EM_ScrollCaret
(
es
);
/* force scroll info update */
EDIT_UpdateScrollInfo
(
es
);
if
(
es
->
flags
&
EF_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