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
d2a84615
Commit
d2a84615
authored
Apr 27, 2008
by
Alex Villacís Lasso
Committed by
Alexandre Julliard
Apr 29, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
richedit: Paragraph may have multiple rows, which should possibly update nHeight.
Otherwise, a paragraph with multiple rows might fail to make the scrollbar appear when displaying text.
parent
82994045
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
wrap.c
dlls/riched20/wrap.c
+8
-0
No files found.
dlls/riched20/wrap.c
View file @
d2a84615
...
...
@@ -508,6 +508,14 @@ BOOL ME_WrapMarkedParagraphs(ME_TextEditor *editor) {
ME_DestroyContext
(
&
c
,
editor
->
hWnd
);
/* Each paragraph may contain multiple rows, which should be scrollable, even
if the containing paragraph has nYPos == 0 */
item
=
editor
->
pBuffer
->
pFirst
;
while
((
item
=
ME_FindItemFwd
(
item
,
diStartRow
))
!=
NULL
)
{
assert
(
item
->
type
==
diStartRow
);
editor
->
nHeight
=
max
(
editor
->
nHeight
,
item
->
member
.
row
.
nYPos
);
}
if
(
bModified
||
editor
->
nTotalLength
<
editor
->
nLastTotalLength
)
ME_InvalidateMarkedParagraphs
(
editor
);
return
bModified
;
...
...
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