Kevin Sawicki & Nathan Sobo
1d1ba5f6d1
Use node's require instead of internal require
2013-03-12 10:38:05 -07:00
Kevin Sawicki
2212222c47
Use underscore node module
2013-03-11 11:22:36 -07:00
Kevin Sawicki
8660670ae3
Replace RootView.getActiveEditor() with getActiveView()
2013-03-07 09:30:23 -08:00
Corey Johnson & Nathan Sobo
47aa74133f
Remove unneeded calls to rootView.deactivate
2013-02-19 18:26:51 -07:00
Corey Johnson & Nathan Sobo
9e8831f710
RootView.initialize no longer assigns window.rootView or calls open
2013-02-19 18:26:50 -07:00
Kevin Sawicki & Nathan Sobo
992fbaafbc
Recycle bracket highlight views
2013-02-14 18:08:26 -07:00
Kevin Sawicki & Nathan Sobo
3bd98ff182
Calculate pixel position of both bracket highlights before adding them
...
Before, we were causing a layout to occur twice because we needed to
read the DOM for the pixel position of the second highlight view after
invalidating the DOM when adding the first highlight view.
2013-02-14 17:30:08 -07:00
Corey Johnson
958bc2bfab
Moved atom.loadPackage to a spec-only helper function
2013-02-13 16:37:59 -08:00
Kevin Sawicki
3629c01e27
Modernize bracket-matcher package with package.cson
2013-02-08 17:28:06 -08:00
Kevin Sawicki
eba089ce97
Remove single and double quotes from highlighted pairs
2013-02-08 09:51:31 -07:00
Nathan Sobo
6e191aba5b
Move matching bracket insertion to bracket-matcher package
2013-02-08 09:51:31 -07:00
Justin Palmer
5ad38c9bc6
bracket matcher animation was kind of annoying when typing between brackets
2013-02-06 15:14:00 -08:00
Justin Palmer
cec0757f55
sublte animation on bracket match
2013-02-06 13:40:12 -08:00
Jon Rohan
024a4916fd
making the default bracket theme yellow border, incase non-atom theme is used
2013-02-05 16:25:29 -08:00
Kevin Sawicki
a144b054e3
Use line height instead of char height
2013-02-05 15:11:26 -08:00
Kevin Sawicki
651d305f76
Add package namespace to command registration
2013-02-04 20:56:25 -08:00
Kevin Sawicki
39e39afa1b
Bind ctrl-j to jump to matching bracket
2013-02-04 20:38:50 -08:00
Kevin Sawicki
b30fae7a68
Remove event handlers when editor is removed
2013-02-04 18:24:54 -08:00
Kevin Sawicki
0270ba3e1c
Add bracket matcher that highlights pair
...
(), {}, and [] pairs are now highlighted when
after or before the cursor
2013-02-04 18:09:20 -08:00