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
9ef2c648
Commit
9ef2c648
authored
Jul 03, 2013
by
Qian Hong
Committed by
Alexandre Julliard
Jul 03, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Properly update caret position after result string is committed.
parent
e931b5d1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
edit.c
dlls/user32/edit.c
+9
-3
No files found.
dlls/user32/edit.c
View file @
9ef2c648
...
...
@@ -4421,10 +4421,16 @@ static void EDIT_ImeComposition(HWND hwnd, LPARAM CompFlag, EDITSTATE *es)
return
;
if
(
CompFlag
&
GCS_RESULTSTR
)
{
EDIT_GetResultStr
(
hIMC
,
es
);
if
(
CompFlag
&
GCS_COMPSTR
)
EDIT_GetCompositionStr
(
hIMC
,
CompFlag
,
es
);
cursor
=
ImmGetCompositionStringW
(
hIMC
,
GCS_CURSORPOS
,
0
,
0
);
cursor
=
0
;
}
else
{
if
(
CompFlag
&
GCS_COMPSTR
)
EDIT_GetCompositionStr
(
hIMC
,
CompFlag
,
es
);
cursor
=
ImmGetCompositionStringW
(
hIMC
,
GCS_CURSORPOS
,
0
,
0
);
}
ImmReleaseContext
(
hwnd
,
hIMC
);
EDIT_SetCaretPos
(
es
,
es
->
selection_start
+
cursor
,
es
->
flags
&
EF_AFTER_WRAP
);
}
...
...
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