Corey Johnson & Kevin Sawicki
fa81871907
Initialize ~/.atom when config is loaded
...
Closes #299
2013-02-22 14:46:30 -08:00
Kevin Sawicki & Nathan Sobo
5da5bf94b6
Add 'editor:save-debug-snapshot' command. Closes #191 .
...
This saves the state of the rendered lines, the display buffer, the
tokenized buffer, and the buffer to a file. If a problem arises with
rendering, hopefully we can use it to diagnose in which layer things
went awry.
2013-02-22 14:28:04 -07:00
Corey Johnson
4db982f9e5
Use a 5 second timeout for specs
...
Hopefully this is temporary.
2013-02-20 16:28:05 -08:00
Corey Johnson
211d18bf99
Listen for file events before acting on the file.
2013-02-20 16:27:30 -08:00
Kevin Sawicki
df3c00ac9c
Remove console log call in spec
2013-02-20 15:50:31 -08:00
Kevin Sawicki
2457e7f5b2
Add indent guide to whitespace lines
...
The whitespace in lines that have no non-whitespace
text is treated as trailing whitespace so add the
indent guide to the trailing whitespace tokens when the
line is 100% whitespace.
2013-02-20 15:40:44 -08:00
Kevin Sawicki
1db21c91cc
Give first line regex the required amount of lines
...
Certain bundles require multi-line matches in the firstLineMatch
value so count the number of newlines in the regex and only test
the regex against only those lines.
2013-02-20 15:11:07 -08:00
Kevin Sawicki
881efd9c5d
Restore selection when undoing an insert newline below
2013-02-20 14:09:40 -08:00
Kevin Sawicki
af58c1e83f
Bind meta-shift-enter to insert newline above current line
...
Closes #292
2013-02-20 13:44:30 -08:00
Corey Johnson
e0212ba02b
Only use the first line when determine the syntax via file contents
2013-02-20 12:46:53 -08:00
Kevin Sawicki
27f44fbfd7
Invalidate empty lines proceeding a change event
...
The indent guide on empty lines will now be updated when
the non-empty line preceeding the empty lines is updated.
2013-02-20 12:20:15 -08:00
Kevin Sawicki
101b1aba12
Add indent guide to editor
...
The guide displays a continuous vertical line across lines with
the same indent levels.
Closes #50
2013-02-20 12:20:15 -08:00
Kevin Sawicki
2f797bfc7a
💄 the spec indentation
2013-02-20 12:20:15 -08:00
Corey Johnson & Nathan Sobo
c03b3fa691
💄
2013-02-20 11:44:50 -08:00
Corey Johnson & Nathan Sobo
5c1fb99037
Requiring window no longer has no side-effects
...
Call window.setUpEnvironment instead.
2013-02-20 11:44:39 -08:00
Corey Johnson & Nathan Sobo
2123fabae6
Window is only shutdown if a rootView and project exist
...
Keeping the shutdown state as a local var in window.coffee causes spec failures because window.shutdown can only be called once in the entire spec suite
2013-02-20 11:31:36 -08:00
Corey Johnson & Nathan Sobo
b24a13991a
Make sure window.shutdown is only called once
2013-02-20 10:18:19 -08:00
Corey Johnson & Nathan Sobo
43aa1aaeb7
Rename startApplication to startup and stopApplication to shutdown
2013-02-20 10:02:16 -08:00
Corey Johnson & Nathan Sobo
f5ecaf436e
Move core:close into handleWindowEvents
2013-02-20 09:58:34 -08:00
Corey Johnson & Nathan Sobo
cb1e48bfef
Make toggle-dev-tools command work in spec window
2013-02-20 09:58:00 -08:00
Kevin Sawicki
dedde7b222
Only add newline when insert row exceeds last row
...
Previously if the line before a trailing newline was
duplicated an extra newline would inserted with the
duplicated line.
2013-02-19 21:02:25 -08:00
Kevin Sawicki
d27bbee37d
Support selecting editor lines from the gutter
...
Mouse events that occur in the gutter are forwarded to the
rendered lines with the y-coordinate translated to be the
leftmost pixel of the editor to simulate the event originating
from column 0 of the current line row.
Closes #287
2013-02-19 18:16:29 -08:00
Corey Johnson & Nathan Sobo
9e8831f710
RootView.initialize no longer assigns window.rootView or calls open
2013-02-19 18:26:50 -07:00
Corey Johnson & Nathan Sobo
0b5ea8578f
Eliminate rootView.project references.
2013-02-19 18:26:50 -07:00
Nathan Sobo
7f2747ead0
Make project a global and refactor startup process
2013-02-19 18:26:50 -07:00
Nathan Sobo
9cd6fda3e1
💄 add trailing newlines
2013-02-19 10:02:09 -07:00
Nathan Sobo
7bdd51b456
Rename deserializeView to deserialize
...
In additional, rename `registerViewClass(es)` to `registerDeserializer(s)`.
This moves us to a situation where any kind of object may want to be
deserialized, not just views.
2013-02-19 09:48:40 -07:00
Nathan Sobo
4c01a1e600
Fix spec to match improved CoffeeScript grammar
2013-02-18 18:10:43 -07:00
Nathan Sobo
d3c2623b61
Make deserializeView a global method
...
…along with `registerViewClass(es)`
2013-02-18 18:08:18 -07:00
Kevin Sawicki
4cfd2b41fb
Destroy repo in an afterEach in Git specs
2013-02-15 09:56:04 -08:00
Kevin Sawicki
ee3f5a3c14
Remove unused repo variable
2013-02-15 09:56:04 -08:00
Kevin Sawicki
25e56b9967
Remove unneeded rootView variable in editor spec
2013-02-15 09:56:04 -08:00
Kevin Sawicki
ded53fd58c
Add spec duration to mouseover summary
2013-02-15 09:56:04 -08:00
Kevin Sawicki
092e5214d0
Add spec for Git.getDiffStats(path)
2013-02-15 09:56:03 -08:00
Corey Johnson
56213872b2
Fix 💩 I shouldn't have checked in
2013-02-14 13:23:45 -08:00
Kevin Sawicki
58dbcc9ddc
Un-f spec in atom-spec.coffee
2013-02-14 12:33:33 -08:00
Corey Johnson
da98addf80
better spec toggle
2013-02-14 12:31:31 -08:00
Corey Johnson & Nathan Sobo
da59459197
Autoscroll the last cursor when it inserts text
...
Normally, we don't autoscroll to a cursor when the buffer changes. But
this is a change caused by the cursor itself, so it makes sense to
keep it in view.
2013-02-14 13:21:39 -07:00
Corey Johnson & Nathan Sobo
52cbf5e367
Correctly translate clicks to screen positions w/ var-width fonts
...
Closes #267
2013-02-14 12:04:18 -07:00
Kevin Sawicki
1ab0db11bd
Support folding multi-line comments
2013-02-14 10:57:39 -08:00
Kevin Sawicki
eb179af0d4
Merge pull request #271 from github/super-command-panel
...
Super command panel
2013-02-14 10:13:40 -08:00
Kevin Sawicki
43d46f0705
Load all .css files when theme has no package file
...
Closes #263
2013-02-14 09:04:32 -08:00
Kevin Sawicki
1922034df5
Disable jquery fx in specs
2013-02-13 17:13:15 -08:00
Corey Johnson
8375c8df38
Use previous package state when the wasn't activated
2013-02-13 16:37:59 -08:00
Corey Johnson
958bc2bfab
Moved atom.loadPackage to a spec-only helper function
2013-02-13 16:37:59 -08:00
Corey Johnson
7ade089d04
If an atom package has no state, activate it with an empty object
2013-02-13 10:42:22 -08:00
Corey Johnson
52d4723711
Add underscore, camelize and dasherize to underscore
2013-02-13 10:42:22 -08:00
Corey Johnson
7ff0450379
Don't recurse into packageDirPaths to look for packagePaths
2013-02-13 10:42:22 -08:00
Kevin Sawicki & Nathan Sobo
b2a9208acf
Tab no longer transfers focus
...
The tab keystroke is now suppressed in keymap
if no bindings are triggered.
Closes #258
2013-02-12 17:29:14 -08:00
Nathan Sobo
65bf13e211
Remove unneeded 'resize' event trigger. It's triggered by the helper.
2013-02-12 17:09:05 -07:00