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

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

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

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

Jobs
ID Job ID Ran Files Coverage
1 19.1 (CXX=g++-4.8) 20 Sep 2016 10:33PM UTC 0
89.96
Travis Job 19.1
Source Files on build 19
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #19
  • 04965a83 on github
  • Next Build on fix-while-checking-after-each-match (#20)
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