Skip to content

Commit 28230a8

Browse files
authored
Merge pull request #72 from fcitx/update_cskk
Update cskk version
2 parents 5ddb185 + ce61ba1 commit 28230a8

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

.github/workflows/clang-format-check.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,4 @@ jobs:
1313
- name: Run clang-format style check for C/C++ programs.
1414
uses: jidicula/clang-format-action@v4.6.2
1515
with:
16-
clang-format-version: '11'
1716
check-path: ${{ matrix.path }}

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ find_package(PkgConfig REQUIRED)
2121
find_package(Fcitx5Core 5.0.6 REQUIRED)
2222
find_package(Fcitx5Utils 5.0.6 REQUIRED)
2323

24-
# GITHUB_ACTION_BUILD_CSKK_VERSION=1.1.0
25-
pkg_check_modules(LIBCSKK REQUIRED IMPORTED_TARGET "cskk>=1.1")
24+
# GITHUB_ACTION_BUILD_CSKK_VERSION=2.0.0
25+
pkg_check_modules(LIBCSKK REQUIRED IMPORTED_TARGET "cskk>=2.0")
2626

2727
option(ENABLE_QT "Enable Qt for GUI configuration" On)
2828

org.fcitx.Fcitx5.Addon.Cskk.metainfo.xml.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
<url type="bugtracker">https://github.com/naokiri/fcitx5-cskk/issues</url>
1212
<project_group>Fcitx</project_group>
1313
<releases>
14+
<release version="1.1.0" date="2022-12-04"/>
1415
<release version="1.0.0" date="2022-11-04"/>
1516
<release version="0.8.2" date="2022-10-29"/>
1617
<release version="0.8.1" date="2022-10-15"/>

src/cskk.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -556,6 +556,11 @@ FcitxCskkContext::formatPreedit(CskkStateInfoFfi *cskkStateInfoArray,
556556
mainCursorIdx += strlen(registerStateInfo.okuri);
557557
mainContent.append(registerStateInfo.okuri, TextFormatFlag::DontCommit);
558558
}
559+
if (registerStateInfo.postfix) {
560+
mainCursorIdx += strlen(registerStateInfo.postfix);
561+
mainContent.append(registerStateInfo.postfix,
562+
TextFormatFlag::DontCommit);
563+
}
559564
mainCursorIdx += strlen("");
560565
mainContent.append("", TextFormatFlag::DontCommit);
561566
} break;

0 commit comments

Comments
 (0)