Alex Dima
15debdd1c9
Children inherit parentScopes
2016-11-25 14:00:12 -08:00
Alex Dima
a29f38bf32
More test tools
2016-11-24 12:29:37 -08:00
Alex Dima
6e232f6d32
tests..
2016-11-17 18:03:27 -08:00
Alex Dima
8e4fb9a57d
Accomodate for name/contentName containing multiple scopes
2016-11-17 15:16:40 -08:00
Alex Dima
103f4cb88c
Import tests
2016-11-17 09:13:36 -08:00
Alex Dima
0a11647331
initial theme tests
2016-11-15 18:16:05 -08:00
Alex Dima
975e2e3fad
Initial tests
2016-11-15 18:14:25 -08:00
Alex Dima
cb2c572184
safepoint
2016-11-11 18:22:55 +01:00
Alex Dima
c1bb2161c0
Hold metadata in each StackElement
2016-11-11 17:42:34 +01:00
Alex Dima
bb7ef6958c
Format!
2016-11-11 15:32:00 +01:00
Alex Dima
e45fbae888
Introduce StackElementMetadata and StackElementMetadata
2016-11-11 15:29:21 +01:00
Alex Dima
efd8764373
Defaults are not inherited in Theme
2016-11-11 10:57:33 +01:00
Alex Dima
c69bc54207
safepoint
2016-11-10 23:32:52 +01:00
Alex Dima
3007d36a36
Fix tslint issues
2016-11-10 17:27:13 +01:00
Alex Dima
146168e6b5
Introduce Theme
2016-11-10 14:57:35 +01:00
Alex Dima
a33377e93d
Adopt TS's readonly
2016-11-09 11:07:01 +01:00
Alex Dima
394a4bb23b
Adopt TS 2.0.x
2016-11-09 10:40:02 +01:00
Alex Dima
71e1d9bbd5
Add missing compiled file
2016-11-08 18:11:22 +01:00
Alex Dima
f54731c844
2.3.1
2016-11-08 18:09:57 +01:00
Alexandru Dima
9e790cd674
Merge pull request #30 from mjbvz/fix-while-rules-when-using-anchor
...
Fix While Rules That Use \G In Pattern
2016-11-08 18:09:08 +01:00
Matt Bierner
1f6e14367b
Fix While Rules That Use Anchor
...
**Bug**
In testing the while rules, I found that the while patterns themselves do not handle `\G` anchors at all. See the update unit tests for an example of a grammar that users these.
**Fix**
Two fixes:
* When compiling the while rule, use the standard logic to determine if we are starting from a previous match.
* Correct handling of isFirstLine within while rules to be updated when the rule is advanced.
2016-10-27 18:06:30 -07:00
Alex Dima
50ca683cd7
2.3.0
2016-10-22 15:08:02 +02:00
Alex Dima
447eed6f83
Commit compiled code
2016-10-22 15:07:24 +02:00
Alexandru Dima
71de178828
Merge pull request #26 from mjbvz/while-improvements
...
Change Behavior of While to More Closely Match TextMate
2016-10-22 15:03:59 +02:00
Matt Bierner
67649c2826
Add test for captures in whileCondition
2016-09-26 14:41:18 -07:00
Matt Bierner
f8b9dd04b4
Use whileCaptures group if one exists
2016-09-26 14:39:09 -07:00
Matt Bierner
3ce91e5997
Fix anchor not being set by consuming while rules. Fix token production for while captures.
2016-09-26 14:37:19 -07:00
Matt Bierner
275ed31790
Improve Behavior of While to More Closely Match TextMate
...
Issue #25
Updates while rule conditions to have be run once for each new line, from bottom of the stack to the top of the stack. This matches what I believe text mate does.
Closes #25
2016-09-26 11:15:03 -07:00
Matt Bierner
749f45e5b2
Update existing tests
2016-09-22 15:57:46 -07:00
Alex Dima
01b8cdf700
2.2.0
2016-09-21 10:31:17 +03:00
Alex Dima
14ee9edbcd
Travis compile with node 6.3
2016-09-21 10:28:28 +03:00
Alex Dima
5eb367f301
Prepare for new release
2016-09-21 10:27:30 +03:00
Alexandru Dima
ee772c8e79
Merge pull request #24 from Microsoft/fix-while-checking-after-each-match
...
Fix While Rules Being Tested Within Lines Instead of at Start Only
2016-09-21 09:33:22 +03:00
Matt Bierner
96e800aaf2
Fix tabs in one file
2016-09-20 15:30:22 -07:00
Matt Bierner
04965a83fa
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.
2016-09-20 15:23:47 -07:00
Alex Dima
665a004f26
Fix tests
2016-09-16 19:43:44 +02:00
Alex Dima
7970025675
Add even more debug info
2016-09-12 11:37:23 +02:00
Alex Dima
699d8d587c
Fix issue with path; fix release script to include new files
2016-09-12 10:13:48 +02:00
Alexandru Dima
ed48e2183e
Make it clear that we need fast-plist >= 0.1.2
2016-09-10 12:10:23 +02:00
Alexandru Dima
881675427b
Load metadata also for plist
2016-09-10 12:09:55 +02:00
Alexandru Dima
efd9fadaec
More detailed inspection script
2016-09-10 10:41:20 +02:00
Alex Dima
965a52d3bd
add debug.ts
2016-09-09 19:38:06 +02:00
Alex Dima
f953d273d1
Towards adding support for fine grained debugging
2016-09-09 18:17:31 +02:00
Alex Dima
5aadb4e5e3
Allow multiple grammar paths to be specified to inspect
2016-09-09 09:27:32 +02:00
Alex Dima
1202742d57
Add lcov setting
2016-08-29 13:54:04 +02:00
Alex Dima
a608571143
Fixes #19 : Bring back the /release/ folder to git
2016-08-22 10:24:33 +02:00
Alexandru Dima
eb170e4067
Update README.md
2016-08-18 14:40:35 +02:00
Alex Dima
75ae347602
Add inspect script
2016-08-18 12:40:16 +02:00
Alex Dima
9de6c30db9
Improve scripts/release.js
2016-08-18 12:31:56 +02:00
Alex Dima
3de7b0b109
Remove /release/ folder from repo
2016-08-18 12:30:33 +02:00