mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-15 05:04:15 +01:00
w
This commit is contained in:
parent
f03552a2ab
commit
01b45c98ac
1 changed files with 3 additions and 2 deletions
|
|
@ -200,8 +200,7 @@ internal sealed unsafe class DalamudIme : IDisposable, IServiceType
|
||||||
or VK.VK_RETURN:
|
or VK.VK_RETURN:
|
||||||
if (this.ImmCand.Count != 0)
|
if (this.ImmCand.Count != 0)
|
||||||
{
|
{
|
||||||
TextState.Stb.SelectStart = TextState.Stb.Cursor = TextState.Stb.SelectEnd;
|
this.ClearState(hImc);
|
||||||
ImmNotifyIME(hImc, NI.NI_COMPOSITIONSTR, CPS_CANCEL, 0);
|
|
||||||
args.WParam = VK.VK_PROCESSKEY;
|
args.WParam = VK.VK_PROCESSKEY;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -367,6 +366,8 @@ internal sealed unsafe class DalamudIme : IDisposable, IServiceType
|
||||||
this.ImmComp = string.Empty;
|
this.ImmComp = string.Empty;
|
||||||
this.PartialConversionFrom = this.PartialConversionTo = 0;
|
this.PartialConversionFrom = this.PartialConversionTo = 0;
|
||||||
this.CompositionCursorOffset = 0;
|
this.CompositionCursorOffset = 0;
|
||||||
|
TextState.Stb.SelectStart = TextState.Stb.Cursor = TextState.Stb.SelectEnd;
|
||||||
|
ImmNotifyIME(hImc, NI.NI_COMPOSITIONSTR, CPS_CANCEL, 0);
|
||||||
this.UpdateImeWindowStatus(default);
|
this.UpdateImeWindowStatus(default);
|
||||||
|
|
||||||
ref var textState = ref TextState;
|
ref var textState = ref TextState;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue