Kevin Sawicki
07e8ee35d9
Add Atom.getAvailablePackageMetadata()
...
This includes the metadata for all available packages
whether or not they are currently loaded.
2013-05-22 15:29:36 -07:00
Kevin Sawicki
82597aa636
Use same view for installed and available packages
2013-05-22 15:29:36 -07:00
Kevin Sawicki
1fe576752b
Unload package when uninstalled
2013-05-22 15:29:35 -07:00
Kevin Sawicki
6622e7369d
Decrease coverage to 75%
2013-05-22 15:29:35 -07:00
Kevin Sawicki
0c85b40789
Add initial support for installing and uninstalling
2013-05-22 15:29:35 -07:00
Kevin Sawicki
b4104c0136
Use third package view instead of first
2013-05-22 15:29:35 -07:00
Kevin Sawicki
fb712cf9c1
Add asserts for homepage and issue links
2013-05-22 15:29:35 -07:00
Kevin Sawicki
9f94d1b6b4
Add initial spec for available packages
2013-05-22 15:29:35 -07:00
Kevin Sawicki
5b2b699618
💄
2013-05-22 15:29:35 -07:00
Kevin Sawicki
a223439eb8
Combine package configs into single panel
2013-05-22 15:29:34 -07:00
Kevin Sawicki
d3cbd937fb
Clip buffer position in screenPositionForBufferPosition()
...
Closes #562
2013-05-22 15:25:27 -07:00
Kevin Sawicki
e7c08d1202
Exclude core.ignoredNames when scanning project
2013-05-21 18:46:03 -07:00
Kevin Sawicki & Nathan Sobo
001183245e
Add core:focus-next/focus-previous
...
Focus now cycles between elements with a positive tabindex on
tab and shift-tab.
2013-05-16 15:00:55 -07:00
Kevin Sawicki & Nathan Sobo
76e7161608
Extract window event handling into separate class
2013-05-16 14:18:57 -07:00
Kevin Sawicki & Nathan Sobo
d76d0a030f
Forward all subscribe arguments from Subscriber to EventEmitter
2013-05-16 13:36:51 -07:00
Kevin Sawicki & Nathan Sobo
3b0748fe44
Add config.pushAtKeyPath/removeAtKeyPath
2013-05-16 10:51:23 -07:00
Kevin Sawicki & Nathan Sobo
2b49a04227
Return a cloned object from config.get()
...
This prevents mutations to the values of the default settings.
2013-05-16 10:29:08 -07:00
Kevin Sawicki
61675c2e77
Install apm command when Atom starts
...
This changes the command installation to use symlinks instead
of copying over the contents of the file.
2013-05-15 10:29:27 -07:00
Nathan Sobo
aefb84cdeb
Don't modify uri's with a scheme prefix in Project.resolve
2013-05-14 20:55:14 -06:00
Nathan Sobo
aa86362a0a
Add Project@registerOpener(fn) to register custom openers on project
...
Now packages can register custom handlers for different kinds of file
paths. If the function you register returns a resource for the given
path, it will be returned from Project.open instead of an EditSession.
2013-05-14 20:23:25 -06:00
Nathan Sobo
6104927cb6
Rename Project.buildEditSession -> Project.open
2013-05-14 20:03:53 -06:00
Kevin Sawicki
2f54cb4c22
Use season module internally
2013-05-14 11:58:34 -07:00
Kevin Sawicki
b8ee3187ec
doc: task instead of web worker
2013-05-13 17:35:51 -07:00
probablycorey
f74842cd4c
Use new ruby scopes in TextMateGrammar spec
2013-05-13 16:51:30 -07:00
probablycorey
423b133e75
Comments can't increase the indent level of the next line
2013-05-13 14:28:16 -07:00
probablycorey
eb25d2e6a8
TokenizedBuffer.tokenForPosition(position) now works correctly
...
It was previously returning the wrong token at token boundaries.
2013-05-13 14:28:16 -07:00
probablycorey
eae06b62bc
Spec 💄
2013-05-13 14:28:16 -07:00
probablycorey
49aeef99b6
Add config option editor.normalizeIndentOnPaste
2013-05-13 14:28:16 -07:00
probablycorey
8e37d2ada6
Turn auto-indent on for all 'newline' specs
2013-05-13 14:28:16 -07:00
probablycorey
7513fe9c69
Set editor.autoIndent to true in specs
2013-05-13 14:28:16 -07:00
probablycorey
992f520698
Normalize pasted text when there is an indent basis
2013-05-13 14:28:16 -07:00
probablycorey
b23e1d3d52
In specs, use local copyText function to put text on the pasteboard
2013-05-13 14:28:16 -07:00
probablycorey
dd53539799
Moving auto-indent specs to appropriate places
2013-05-13 14:28:15 -07:00
probablycorey
93b1ce53c0
Rename autoDecreaseIndentForRow to autoDecreaseIndentForBufferRow
2013-05-13 14:28:15 -07:00
probablycorey
c34db290e4
Only indent the line following a '\n' not the line preceding it
2013-05-13 14:28:15 -07:00
probablycorey
9d2b7875b9
💄
2013-05-13 14:28:15 -07:00
probablycorey
38d4e3a097
Move all auto-indent specs to the auto-indent describe block
2013-05-13 14:28:15 -07:00
probablycorey
c03d44da00
Add autoIndentNewline and autoDecreaseIndent options to insertText
...
insertText now takes these options:
* autoIndent will auto indent all inserted text based
* autoIndentNewline will indent a line when a '\n' is inserted
* autoDecreaseIndent will decrease the indent if the line matches a
decreaseIndent pattern (such as a `}` in javavascript)
2013-05-13 14:28:15 -07:00
probablycorey
9713bc8c02
💄
2013-05-13 14:28:15 -07:00
probablycorey
7f0b2c54f3
editor.autoIndentOnPaste will auto indent every pasted line
...
I've removed normalizeLines and its tests. They will be added back in
a later commit.
2013-05-13 14:28:14 -07:00
probablycorey
533b11f991
💄
2013-05-13 14:28:14 -07:00
Nathan Sobo
b4dec8ccbb
In Editor.updateRenderedLines, cap renderFrom to the last screen row
...
If we remove a large number of screen lines when we are scrolled down,
the current @firstRenderedScreenRow may end up being larger than the
number of screen rows we now have. Setting renderFrom to the
@firstRenderedScreenRow in this case was causing the renderFrom to be
larger than the renderTo, which was causing problems downstream with
the new mapping code.
2013-05-10 13:20:43 -06:00
Nathan Sobo
b4c95d4fc9
Merge adjacent isomorphic regions after adding new regions
2013-05-10 13:20:42 -06:00
Nathan Sobo
d9c258f27e
Handle new regions overlapping screen wise but not buffer wise
2013-05-10 13:20:42 -06:00
Nathan Sobo
4a56cc3693
Kick docs threshold down again because I removed public methods
2013-05-10 13:20:42 -06:00
Nathan Sobo
d3cb001d65
Use RowMap instead of LineMap in DisplayBuffer
2013-05-10 13:20:42 -06:00
Nathan Sobo
d7914d2c54
Ensure row map applies negative deltas only after the given start row
2013-05-10 13:20:42 -06:00
Nathan Sobo
9849c62d80
Properly handle regions that straddle existing regions
...
When we're creating folds that contain other folds, we'll need the
region based on the new fold's row mapping to overwrite the regions
from the old folds. This commit ensures that the new region cleanly
slots in, replacing any regions it completely contains and splitting
regions that it only partially overlaps.
2013-05-10 13:20:42 -06:00
Nathan Sobo
3c630fb7f4
Rename mapping -> region within RowMap
2013-05-10 13:20:42 -06:00
Nathan Sobo
55f0b6a1f8
Replace existing regions when inserting a mapping that surrounds them
2013-05-10 13:20:42 -06:00