Commit Graph

8245 Commits

Author SHA1 Message Date
Kevin Sawicki
1178d844d0 Look before and after empty lines for max indent level
Previously the indentation guide level for empty lines was
derived by only looking after the empty line which caused gaps
in certain cases.

Now the indentation for an empty line is the higher value of the
previous non-empty line indentation and the following non-empty
line indentation.

Closes #588
2013-06-18 09:56:31 -07:00
Kevin Sawicki
aa9577db67 Upgrade to lesslint 0.7 2013-06-17 20:02:35 -07:00
Kevin Sawicki
7af474cbc6 Disable outline-none rule 2013-06-17 19:58:21 -07:00
Kevin Sawicki
7f6de430c0 Remove unneeded units 2013-06-17 19:57:38 -07:00
Kevin Sawicki
bc2d0ff0cc Only check ending rules when stack size increases
Previously on zero length matches the last two rules were compared
and if they had the same scope name then the last rule was popped
and the remaining line was tokenized using the current scope stack
to prevent infinite parsing loops.

This caused nested method calls in Java to not tokenize correctly
since method rules were sequential in the stack but did not constitute
an infinite loop of zero matches since the stack was currently decreasing.

Now the last two rules are only compared when the stack size is increasing
to prevent this false positive.

Closes #587
2013-06-17 13:08:10 -07:00
Kevin Sawicki
645aa65e9b Remove view when package is deactivated 2013-06-17 12:11:26 -07:00
Kevin Sawicki
2ae494999c Terminate in beforeRemove() instead of afterRemove() 2013-06-17 12:11:26 -07:00
Kevin Sawicki
2826d50cbb Remove logging of pid 2013-06-17 12:11:26 -07:00
Corey Johnson & Kevin Sawicki
8c4bddac9f Add spec for Task.once() 2013-06-17 12:11:26 -07:00
Corey Johnson & Kevin Sawicki
2a7d35cc39 Remove spec that was renamed to task-spec.coffee 2013-06-17 12:11:26 -07:00
Corey Johnson & Kevin Sawicki
8389698958 Drop suffix from handler path 2013-06-17 12:11:26 -07:00
Kevin Sawicki
289b270c85 Use Task.once for repository status handler 2013-06-17 12:11:26 -07:00
Corey Johnson & Kevin Sawicki
8661290c6a Rename LoadPathsTask to PathLoader 2013-06-17 12:11:26 -07:00
Corey Johnson & Kevin Sawicki
84a8f11fc9 Make fuzzy finder work with new Task system 2013-06-17 12:11:25 -07:00
Kevin Sawicki
ad1b530d32 💄 2013-06-17 12:11:25 -07:00
Kevin Sawicki
65e322824b Remove task-shell 2013-06-17 12:11:25 -07:00
Kevin Sawicki
3f5bee7e4c Move task-bootstrap to src/ 2013-06-17 12:11:25 -07:00
Kevin Sawicki
bff57e53f0 Throw error when starting terminated process 2013-06-17 12:11:25 -07:00
Kevin Sawicki
8280b3a3ff Update repository status to use new task style 2013-06-17 12:11:25 -07:00
Kevin Sawicki
7dd52995d0 Update tag reader view to use new task style 2013-06-17 12:11:25 -07:00
Kevin Sawicki
e8bf433c68 Remove unused class 2013-06-17 12:11:25 -07:00
Kevin Sawicki
12b5c43d85 Remove unused task 2013-06-17 12:11:25 -07:00
Kevin Sawicki
b42cc6f683 Update spell check view to use new task 2013-06-17 12:11:25 -07:00
Kevin Sawicki
a1d6ae010e 💄 2013-06-17 12:11:25 -07:00
Kevin Sawicki
cd1c88a1b5 Correct typo in git docs 2013-06-16 22:08:18 -07:00
Kevin Sawicki
5d245f403f Upgrade to grunt-cson 0.3 2013-06-16 21:37:48 -07:00
Kevin Sawicki
91f18df917 Use grunt-cson for compilation 2013-06-15 22:10:06 -07:00
Kevin Sawicki
f3b3c291b9 Un-f wrap guide spec 2013-06-15 21:25:46 -07:00
Kevin Sawicki
6bcd6240ce Only override resource path if running specs from menu
Previously if the specs were being run via the --test command line
flag then the resource path specified would be overridden and
~/github/atom would be used instead which was causing CI to fail
since it specified a custom resource path at a different location.
2013-06-15 20:07:16 -07:00
Kevin Sawicki
5df5a679ac Un-f fuzzy finder spec 2013-06-14 11:48:02 -07:00
Kevin Sawicki
6dc2db25da Add Zoom to Window menu 2013-06-14 11:47:12 -07:00
Kevin Sawicki
7d33e1302a Doc what unicode characters render to 2013-06-14 11:47:12 -07:00
Corey Johnson & Kevin Sawicki
2edb5b5496 Setup node path in Atom Window.
This lets windows run code from different resource paths.
2013-06-14 10:01:23 -07:00
probablycorey
3ba7d68d4a Add global.homeDir
Ick, this should be handled by an npm or hopefully a patch to Node.
2013-06-14 09:56:01 -07:00
probablycorey
da58bd5609 Always use ~/github/atom as the resource path when running specs 2013-06-14 09:27:54 -07:00
Kevin Sawicki
e8c0f46afb Relativize exact path matches to the empty string 2013-06-14 09:20:28 -07:00
Kevin Sawicki
772a99012d Focus window when atom.focus() is called
Previously listeners bound to $(window).focus() would not get
events when Atom initially started or on reloads.
2013-06-14 08:39:32 -07:00
Kevin Sawicki
f408406ef0 Support symlinks in .relativize() and .contains() 2013-06-14 08:29:21 -07:00
Kevin Sawicki
1fa319a8f3 Hide status and branch info for non-project files 2013-06-13 23:11:07 -07:00
Kevin Sawicki
a0aefe21c8 Bind mousewheel event to list instead of parent 2013-06-13 22:11:46 -07:00
Kevin Sawicki
d6be29dbdc Prevent propagation of mousewheel events from list
Without this, the autocomplete list is not scrollable using
the mouse wheel since it is consumed by the parent editor.
2013-06-13 18:50:36 -07:00
Kevin Sawicki
52ffa2d8c0 Use fat arrow for write callback 2013-06-13 18:38:23 -07:00
Kevin Sawicki
5ca4e8006e Format command and run count integers 2013-06-13 18:09:37 -07:00
Kevin Sawicki
75cfddebcd Implement getEmptyMessage() in CorrectionsView 2013-06-13 11:47:00 -07:00
Kevin Sawicki
1bc4b4ef32 Use mini-icon helper for loading-message 2013-06-13 11:40:32 -07:00
Kevin Sawicki
ff7c639b64 Don't use error class in select list
Use a subtler error message that displays in the same place as the
loading message but does not change the entire background of the
view.

Also, extending classes can now customize the message displayed
when there are no items and also no filtered items to allow for
different messages for these two cases.
2013-06-13 11:31:09 -07:00
Kevin Sawicki
77172800a8 Remove link to deleted method 2013-06-13 10:10:59 -07:00
Kevin Sawicki
6615e0f2db Use triple # internal comment 2013-06-13 10:03:54 -07:00
Kevin Sawicki
0f562330cf Remove unused functions and specs 2013-06-13 10:02:13 -07:00
Kevin Sawicki
42a8a1ff61 Use skinny arrow for onPath callback 2013-06-13 08:51:13 -07:00