hchunhui / librime-lua

Extending RIME with Lua scripts
BSD 3-Clause "New" or "Revised" License
357 stars 43 forks source link

Update types.cc #342

Open shewer opened 6 months ago

shewer commented 6 months ago

update from librime context.h

commit 8b7f6b746b4f7790ade50f60c5d4b89488bc8f9d
Author: 居戎氏 <chen.sst@gmail.com>
Date:   Sat Mar 2 11:42:50 2024 +0800

    fix(context): tag selected segment after editing

    call Context::BeginEditing when input is edited after selection.
    move cursor also counts as edit.

    the tag is used to tell if BackSpace should delete the last input
    character or revert a recent selection.

    the information was previously denoted by kConfirmed status which caused
    the side-effect of breaking a user phrase into individual segments.

    fixed #746, fixed #830

commit 142902df0d21ce6dbd3a804ecdeee04752988c8c
Author: LEO Yoon-Tsaw <leoyoontsaw@icloud.com>
Date:   Fri Feb 9 11:38:00 2024 +0800

    feat(api): highlight_candidate*, change_page

    add function Context::Highlight

    Merges #620