Comments (6)
The while loop's condition is incorrect.
First of all, there should be and
, not or
because it should break if any of this is true. The break
word at line 130 is not necessary.
Secondly, sel.b
never reaches -1. So this will turn to infinite loop always if a current line does not contain the keywords given|when|then, which is bad for i18n support.
from cucumber-sublime-bundle.
@mrliptontea thanks for reporting this error. Could you open a pull request with your proposed fix?
from cucumber-sublime-bundle.
I need to look into this, as I don't understand all the parts of this code.
To fix all the issues I've noticed here it might require a rewrite of quite a bit.
from cucumber-sublime-bundle.
I'm still seeing this, makes the plugin completely unusable. Any chance to merge that PR?
from cucumber-sublime-bundle.
It happends me too. OSX.
from cucumber-sublime-bundle.
A belated "thank you" for your fix, @mrliptontea.
from cucumber-sublime-bundle.
Related Issues (20)
- shortcuts to use selector as a constraint only in feature files. HOT 1
- step definition files are syntax highlighted as ruby files HOT 2
- A setting to disable autocomplete would be nice HOT 5
- Gherkin Auto-Complete Breaks in ST3 HOT 12
- Windows line endings are shown ugly in auto-complete HOT 2
- remove st2 support? HOT 2
- Merge Sublime3 to master HOT 4
- Unable to remove "&" table delimiter HOT 2
- Highlight substituted variables for scenario outlines HOT 1
- `ALT` + `;` does nothing on Windows HOT 4
- Option to disable gherkin indexing?
- putting this project up for adoption HOT 1
- Update russian keywords according to https://github.com/cucumber/gherkin
- Wrong highlighting with # in table
- Cannot find table settings
- Few italian keywords are missing HOT 3
- french typo HOT 1
- Package Control search for "cucumber sublime bundle" does not have any results in Ver 3.3.2 build 3211
- Causes ST4 to freeze
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cucumber-sublime-bundle.