• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

chewing / libchewing / 398
100%

Build:
DEFAULT BRANCH: master
Ran 01 Apr 2014 10:21AM UTC
Jobs 1
Files 22
Run time 8s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
398

push

travis-ci

czchen
Adjust chiSymbolCursor correctly in cand selection

When bPhraseChoiceRearward is enable, we need to set chiSymbolCursor to
candidate head before calling SetChoiceInfo. The value of
chiSymbolCursor is determined by oldChiSymbolCursor and candidate
length.

The original code has two problems:

1.  It has an off-by-one issue when calculate chiSymbolCursor. If
    candidate length is 1, chiSymbolCursor shall equal to
    oldChiSymbolCursor.

2.  It does not do chiSymbolCursor adjust when oldChiSymbolCursor is at
    the end of preedit buffer. When oldChiSymbolCursor is at the end of
    preedit buffer, it is not point to end of candidate. We need to
    consider it when calculate candidate head (chiSymbolCursor). This is
    also an off-by-one issue.

These two issues actual hide the problem when we open candidate at the
end of buffer because they works in different direction and becomes
off-by-zero.

Closed #140

2844 of 3496 relevant lines covered (81.35%)

37411.75 hits per line

Jobs
ID Job ID Ran Files Coverage
4 398.4 (BUILD=cmake CMAKE_OPTION="-DENABLE_GCOV=yes -DUSE_VALGRIND=no" COVERALLS=yes) 01 Apr 2014 10:21AM UTC 0
81.35
Travis Job 398.4
Source Files on build 398
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #398
  • 80898d66 on github
  • Prev Build on master (#397)
  • Next Build on master (#400)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc