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
17a83dc3
Commit
17a83dc3
authored
Jan 31, 2006
by
Phil Krylov
Committed by
Alexandre Julliard
Jan 31, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
riched20: Paint the selection while it's being extended by dragging.
parent
033ca373
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
caret.c
dlls/riched20/caret.c
+4
-2
No files found.
dlls/riched20/caret.c
View file @
17a83dc3
...
...
@@ -751,16 +751,18 @@ void ME_MouseMove(ME_TextEditor *editor, int x, int y)
y
+=
ME_GetYScrollPos
(
editor
);
tmp_cursor
=
editor
->
pCursors
[
0
];
if
(
!
ME_FindPixelPos
(
editor
,
x
,
y
,
&
editor
->
pCursors
[
0
]
,
&
editor
->
bCaretAtEnd
))
if
(
!
ME_FindPixelPos
(
editor
,
x
,
y
,
&
tmp_cursor
,
&
editor
->
bCaretAtEnd
))
/* return */
;
if
(
tmp_cursor
.
pRun
==
editor
->
pCursors
[
0
].
pRun
&&
tmp_cursor
.
nOffset
==
editor
->
pCursors
[
0
].
nOffset
)
return
;
HideCaret
(
editor
->
hWnd
);
ME_InvalidateSelection
(
editor
);
editor
->
pCursors
[
0
]
=
tmp_cursor
;
HideCaret
(
editor
->
hWnd
);
ME_MoveCaret
(
editor
);
ME_InvalidateSelection
(
editor
);
ShowCaret
(
editor
->
hWnd
);
ME_SendSelChange
(
editor
);
}
...
...
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