We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 4783

Summary: cannot get IME target range
Product: SDL Reporter: tamo <ttakah+sdl>
Component: eventsAssignee: Sam Lantinga <slouken>
Status: NEW --- QA Contact: Sam Lantinga <slouken>
Severity: minor    
Priority: P2    
Version: HG 2.0   
Hardware: All   
OS: Windows 10   
Attachments: implement target range in edit event

Description tamo 2019-09-02 14:17:35 UTC
Created attachment 3945 [details]
implement target range in edit event

Looking at bug 4782, I found that SDL didn't provide a way to get IME target range.
(I had thought I could get it as event.edit.start and event.edit.length, but they are just a readingstring range, which Japanese IMEs rarely use.)

You can see what the "target" means by seeing the picture attached to bug 4782.
To liken IME to an translator, she may translate "I love you" to "Je vous aime." But you may tell her to use "te" instead of "vous." In this case, your target is "vous."