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
3a0c15e9
Commit
3a0c15e9
authored
Aug 04, 2006
by
Krzysztof Foltman
Committed by
Alexandre Julliard
Aug 07, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
riched20: Ensure text is wrapped before invalidating selection.
parent
539442c7
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
caret.c
dlls/riched20/caret.c
+1
-0
paint.c
dlls/riched20/paint.c
+1
-0
No files found.
dlls/riched20/caret.c
View file @
3a0c15e9
...
...
@@ -118,6 +118,7 @@ ME_GetCursorCoordinates(ME_TextEditor *editor, ME_Cursor *pCursor,
assert
(
!
pCursor
->
nOffset
||
!
editor
->
bCaretAtEnd
);
assert
(
height
&&
x
&&
y
);
assert
(
!
(
ME_GetParagraph
(
pCursorRun
)
->
member
.
para
.
nFlags
&
MEPF_REWRAP
));
if
(
pCursorRun
->
type
==
diRun
)
{
ME_DisplayItem
*
row
=
ME_FindItemBack
(
pCursorRun
,
diStartRowOrParagraph
);
...
...
dlls/riched20/paint.c
View file @
3a0c15e9
...
...
@@ -505,6 +505,7 @@ ME_InvalidateFromOfs(ME_TextEditor *editor, int nCharOfs)
void
ME_InvalidateSelection
(
ME_TextEditor
*
editor
)
{
ME_WrapMarkedParagraphs
(
editor
);
if
(
ME_IsSelection
(
editor
)
||
editor
->
nLastSelStart
!=
editor
->
nLastSelEnd
)
{
int
x
,
y
,
height
;
...
...
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