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

Microsoft / vscode-textmate / 19 / 1
90%
master: 91%

Build:
Build:
LAST BUILD BRANCH: v3.2.0
DEFAULT BRANCH: master
Ran 20 Sep 2016 10:33PM UTC
Files 9
Run time 0s
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

20 Sep 2016 10:23PM UTC coverage: 89.96%. First build
CXX=g++-4.8

push

travis-ci

mjbvz
Fix While Clause Being Checked Inside of Lines

**Bug**
In VS Code in the markdown grammar, we see some grammar rules that use `while` stop matching early on the second line of the rule (the line after the begin). The root cause is that the while check clause is being evaluated on both on the start of the second line, and after the first match on the second line.

**Fix**
The while expression should only be checked on lines to determine if the line should be matched or not. Once a line has been matched with while, the entire line becomes part of the group. This fix adds a second condition to the while check so that we only apply it when starting a line.

I also added a simple grammar to test this behavior. It failed to match properly before, but does work properly after the fix.

1129 of 1255 relevant lines covered (89.96%)

4565.17 hits per line

Source Files on job 19.1 (CXX=g++-4.8)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 19
  • Travis Job 19.1
  • 04965a83 on github
  • Next Job for CXX=g++-4.8 on fix-while-checking-after-each-match (#20.1)
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