Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-fonts
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
Aleksandr Isakov
wine-fonts
Commits
25209c16
Commit
25209c16
authored
Jul 19, 2022
by
Santino Mazza
Committed by
Alexandre Julliard
Jul 28, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
riched20: Ensure that cursor is visible when selecting text.
Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=40444
Signed-off-by:
Santino Mazza
<
mazzasantino1206@gmail.com
>
parent
ee131e9e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
1 deletion
+1
-1
editor.c
dlls/riched20/editor.c
+1
-0
editor.c
dlls/riched20/tests/editor.c
+0
-1
No files found.
dlls/riched20/editor.c
View file @
25209c16
...
...
@@ -2142,6 +2142,7 @@ int set_selection( ME_TextEditor *editor, int to, int from )
if
(
!
editor
->
bHideSelection
)
ME_InvalidateSelection
(
editor
);
end
=
set_selection_cursors
(
editor
,
to
,
from
);
editor_ensure_visible
(
editor
,
&
editor
->
pCursors
[
0
]
);
if
(
!
editor
->
bHideSelection
)
ME_InvalidateSelection
(
editor
);
update_caret
(
editor
);
ME_SendSelChange
(
editor
);
...
...
dlls/riched20/tests/editor.c
View file @
25209c16
...
...
@@ -5032,7 +5032,6 @@ static void check_EM_SETSEL_multiline(HWND hwnd)
oldY
=
get_scroll_pos_y
(
hwnd
);
SendMessageA
(
hwnd
,
EM_SETSEL
,
59
,
59
);
curY
=
get_scroll_pos_y
(
hwnd
);
todo_wine
ok
(
oldY
<
curY
,
"oldY %d >= curY %d
\n
"
,
oldY
,
curY
);
}
...
...
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