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
0974f047
Commit
0974f047
authored
Jun 20, 2022
by
Jinoh Kang
Committed by
Alexandre Julliard
Jun 20, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
riched20: Commit and wrap paragraphs after changing text properties.
Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=53170
Signed-off-by:
Jinoh Kang
<
jinoh.kang.kr@gmail.com
>
parent
68d4643a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
richole.c
dlls/riched20/richole.c
+6
-0
No files found.
dlls/riched20/richole.c
View file @
0974f047
...
...
@@ -647,6 +647,9 @@ static void textrange_set_font(ITextRange *range, ITextFont *font)
cursor_from_char_ofs
(
services
->
editor
,
start
,
&
from
);
cursor_from_char_ofs
(
services
->
editor
,
end
,
&
to
);
ME_SetCharFormat
(
services
->
editor
,
&
from
,
&
to
,
&
fmt
);
ME_CommitUndo
(
services
->
editor
);
ME_WrapMarkedParagraphs
(
services
->
editor
);
ME_UpdateScrollBar
(
services
->
editor
);
}
}
...
...
@@ -805,6 +808,9 @@ static HRESULT set_textfont_prop(ITextFontImpl *font, enum textfont_prop_id prop
cursor_from_char_ofs
(
services
->
editor
,
start
,
&
from
);
cursor_from_char_ofs
(
services
->
editor
,
end
,
&
to
);
ME_SetCharFormat
(
services
->
editor
,
&
from
,
&
to
,
&
fmt
);
ME_CommitUndo
(
services
->
editor
);
ME_WrapMarkedParagraphs
(
services
->
editor
);
ME_UpdateScrollBar
(
services
->
editor
);
return
S_OK
;
}
...
...
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