Kevin Sawicki
001fef384c
Remove extra initialization of scoped properties
2013-04-24 10:12:29 -07:00
Kevin Sawicki
ab2a298994
💄
2013-04-24 10:12:28 -07:00
Kevin Sawicki
bef3c50fe5
Load scoped properties after grammars load
2013-04-24 10:12:28 -07:00
Nathan Sobo
4a5a155511
Log non-zero exits and stderr output from LoadPathsTask subprocess
...
This will help us investigate issue #514
2013-04-24 10:26:15 -06:00
Garen Torikian
3087fabc21
Merge pull request #511 from github/no-trim-whitespace
...
Leave Markdown files alone when trimming whitespace
2013-04-23 17:22:37 -07:00
Garen Torikian
41c79789e3
Make words more consistent
2013-04-23 17:15:20 -07:00
Garen Torikian
0ae599ad6f
double space outta my face
2013-04-23 17:15:20 -07:00
Garen Torikian
1b2b8861ee
fix specs
2013-04-23 17:15:20 -07:00
Garen Torikian
f85e1ccf9a
modify whitespace replace fn directly
2013-04-23 17:15:19 -07:00
Garen Torikian
4ed36ec095
Fix dem specs
2013-04-23 17:15:19 -07:00
Garen Torikian
4fc7e1a9d5
Leave Markdown files alone
2013-04-23 17:15:19 -07:00
Garen Torikian
7940820877
Update display-buffer.coffee
2013-04-23 15:41:02 -07:00
Garen Torikian
e4eea237b5
Update display-buffer.coffee
2013-04-23 15:37:14 -07:00
Nathan Sobo
1d6c2cdf27
In documentation strings ,s/Integer/Number/g
2013-04-23 16:30:23 -06:00
Nathan Sobo
c51db80d6e
Some more docs fixes
...
/cc @gjtorikian
2013-04-23 16:17:36 -06:00
Nathan Sobo
38c2509927
Fix some documentation
2013-04-23 16:11:15 -06:00
Corey Johnson & Nathan Sobo
caed3d39de
Revert "Don't tokenize files that have more than 10000 lines"
...
This was a premature optimization. The real problem is
with the spell-check package.
This reverts commit 987d1da233
.
2013-04-23 13:50:02 -07:00
Corey Johnson & Nathan Sobo
693a495618
Use _.spliceWithArray in tokenized buffer
2013-04-23 12:01:16 -07:00
Corey Johnson & Nathan Sobo
987d1da233
Don't tokenize files that have more than 10000 lines
2013-04-23 12:00:57 -07:00
Corey Johnson & Nathan Sobo
840efa3d82
Use _.spliceWithArray when splicing in new lines
2013-04-23 11:19:54 -07:00
Corey Johnson & Nathan Sobo
9f235103f8
Add _.spliceWithArray to avoid stack overflows when splicing huge arrays
2013-04-23 11:16:55 -07:00
Kevin Sawicki
1ccf026a83
Set/get text using edit session instead of buffer
2013-04-23 08:54:43 -07:00
Kevin Sawicki
2d897ba415
Remove trailing whitespace
2013-04-23 08:54:18 -07:00
Kevin Sawicki
c3045dd230
doc: tweak eventNames param description
2013-04-23 08:42:33 -07:00
Kevin Sawicki & Nathan Sobo
e50aa56d02
Space separate event names
2013-04-23 08:39:26 -07:00
Kevin Sawicki & Nathan Sobo
228fa1abe5
Store injections grammars on Syntax global
2013-04-23 08:39:26 -07:00
Kevin Sawicki & Nathan Sobo
125c41a2e2
Support space-separated event names in EventEmitter.on()/off()
2013-04-23 08:39:26 -07:00
Kevin Sawicki & Nathan Sobo
b9ad462c69
Retokenize when grammar with matching injection selector is updated
2013-04-23 08:39:26 -07:00
Kevin Sawicki & Nathan Sobo
0d35943386
Retokenize when grammar with matching injection selector is loaded
2013-04-23 08:39:26 -07:00
Kevin Sawicki & Nathan Sobo
b1527a7982
Add getter and setter for buffer text
2013-04-23 08:39:26 -07:00
Kevin Sawicki
eec6518278
Add package to open links on ctrl-O
2013-04-23 08:39:26 -07:00
Kevin Sawicki
a447ab4edc
Add link segment to GFM underline scope
2013-04-23 08:39:26 -07:00
Kevin Sawicki
f0cf337857
Support grammars with an injectionSelector
...
These grammars can now contribute rules to other grammars when
their selector matches the current scope stack.
2013-04-23 08:39:26 -07:00
Kevin Sawicki
927e9c3de8
Upgrade to oniguruma 0.11
2013-04-23 08:39:25 -07:00
Kevin Sawicki
4acb3acebc
Use substring instead of substr
2013-04-23 08:39:25 -07:00
Kevin Sawicki
63d665e2cb
Replace capture groups in pattern names with match
2013-04-23 08:39:25 -07:00
Kevin Sawicki
a720919dd8
Add hyperlink helper TextMate bundle
2013-04-23 08:39:25 -07:00
Kevin Sawicki
220b9dadbb
Don't show null grammar in grammar selector
2013-04-22 22:13:21 -07:00
Nathan Sobo
608ffd27ad
Slightly more correct
2013-04-22 11:34:03 -06:00
Nathan Sobo
35f0b7b49e
Fix #505 . Update grammars if any included grammars are updated.
2013-04-22 11:34:03 -06:00
Nathan Sobo
b856ab16cf
Add SQL textmate bundle
2013-04-22 11:34:03 -06:00
Nathan Sobo
9866e84c9f
In LanguageMode, unsubscribe from old grammar when switching grammars
2013-04-22 11:34:03 -06:00
Nathan Sobo
444325893b
Allow subscribers to unsubscribe on a per-object basis
...
This makes use of the new ES6 WeakMap feature, which allows for a hash
map that's keyed by object.
2013-04-22 11:34:03 -06:00
Nathan Sobo
93910201b0
Re-tokenize buffer when its grammar is updated
...
This can happen if a grammar that the grammar includes is added or
removed from the syntax global.
2013-04-22 11:34:03 -06:00
Nathan Sobo
9204836d70
Update grammars when grammars they include are added/removed
...
If the Ruby on Rails grammar depends on HTML, but it isn't loaded, its
syntax highlighting won't include HTMl tokens. If we later load HTML,
we should update any buffer with the Rails grammar to reflect the
change. This commit changes grammars to memoize their initial rule and
repository. If an included grammar is added or removed, we clear the
memoized rules and emit a 'grammar-updated' event. Any tokenized
buffer that points to this grammar can then retokenize to reflect the
newly available/unavailable included grammar.
2013-04-22 11:33:59 -06:00
Kevin Sawicki
e6274b2f45
Update expected require path for changes in 8e2938ea
2013-04-20 09:57:34 -07:00
Kevin Sawicki
8cd7adceb5
Remove ignore of doc/assets
...
Biscotto upgrade removes the need to ignore this
folder which was previously when generating the
doc stats.
2013-04-20 09:53:50 -07:00
Garen Torikian
d52631bab5
Update package.json
...
Bump for excessive dir creation
2013-04-19 18:28:42 -07:00
Corey Johnson
8e2938ea82
Updae package generator require paths
2013-04-19 14:59:54 -07:00
Kevin Sawicki
f8011d9cc9
doc: capitalize number and wrap in {}
2013-04-19 11:05:54 -07:00