Commit Graph

6695 Commits

Author SHA1 Message Date
probablycorey
32c950dee8 Rename strip-trailing-whitespace package to whitespace
Because it does more than strip trailing whitespace
2013-04-01 10:44:34 -07:00
probablycorey
6052a90ce9 Remove auto-indent gfm spec 2013-04-01 09:58:31 -07:00
probablycorey
aea27ff779 Remove auto-indentation for markdown files
Closes #395

@kevinsawicki I couldn't figure out a reason for this
indent pattern? I looked in the TextMate package and I
didn't see it there either.
2013-04-01 09:14:58 -07:00
Kevin Sawicki
19162db3ce Clip TextBuffer.characterIndexForPosition() position 2013-03-30 00:47:19 -04:00
Kevin Sawicki
da090b57d4 Use line ending length for mapping positions/characters
Previously the line ending length was hard-coded to one which
would cause TextBuffer.scanInRange() to return incorrect results
since one character per line wasn't being accounted for.

Closes #428
2013-03-30 00:30:54 -04:00
Kevin Sawicki
dc3b26c934 Add missing 't' in spec file name 2013-03-29 23:55:31 -04:00
Kevin Sawicki
9708f436c5 Remove unneeded empty string span values 2013-03-29 22:21:50 -04:00
Kevin Sawicki
2a2a391d13 Extend highlight span to be entire width of tree
Closes #219
2013-03-29 22:20:26 -04:00
probablycorey
d3920cdc05 Click and drag on the gutter selects lines correctly
Closes #352
2013-03-29 17:58:27 -07:00
probablycorey
05336dc38c Fix atom.version spec 2013-03-29 15:24:27 -07:00
probablycorey
cf07eef3ae Only change text color when select list item matches :hover
Closes #303
2013-03-29 15:09:53 -07:00
probablycorey
00c1fdce38 Change theme extension to .less 2013-03-29 15:02:45 -07:00
probablycorey
4b146f3459 Remove css extensions from themes package.cson stylesheet list 2013-03-29 15:02:44 -07:00
probablycorey
a1e1bee334 Allow theme's package.cson to leave off stylesheet extension 2013-03-29 15:02:44 -07:00
probablycorey
142d18bb7c Add current commit sha to the version 2013-03-29 14:13:46 -07:00
probablycorey
1c5b72e04d Add version to the Atom Helper plist
Closes #368
2013-03-29 14:13:33 -07:00
Corey Johnson & Nathan Sobo
7d9e64a52d Mock getMaxTokensPerLine instead of overwriting member var 2013-03-29 11:22:01 -07:00
Corey Johnson & Nathan Sobo
a9175665fa 💄 2013-03-29 11:22:01 -07:00
Kevin Sawicki
3773061cb5 Remove unneeded empty array fallback 2013-03-29 14:15:20 -04:00
Kevin Sawicki
8e9a7355bc Return an empty array when the fs-utils.list() path isn't a directory
This makes the common case of iterating over an array of paths and
listing them cleaner since the return value doesn't need to be checked
before it is iterated over.
2013-03-29 13:44:03 -04:00
Garen Torikian
0a6963a965 Bump node-git to 0.11.0 2013-03-29 09:36:51 -07:00
Kevin Sawicki
ff471ebf5b 💄 2013-03-28 22:08:53 -04:00
Kevin Sawicki
bd48cfced0 Don't track ctrl-click as the start of a selection
Closes #396
2013-03-28 22:06:56 -04:00
probablycorey
aab50d3c2c Only parse the first 100 tokens of a line
This fixes the UI thread lockup when there is a gigantic line in a
file (like minified js). I took a stab at making line tokeninization
async on the atom/async-single-line-tokenization branch, but it was
still too slow.

Closes #150
2013-03-28 17:14:45 -07:00
Kevin Sawicki
f51102a230 Don't force clean installs
Making clean a pre-req install forces a reinstall and
rebuild of all npm modules and reinstall of cef which
drastically increases the install time even for small
local changes.
2013-03-28 10:09:29 -04:00
Kevin Sawicki
b0706ee9fb Update coffee cache path used in clean task 2013-03-28 10:07:17 -04:00
Kevin Sawicki
d54f2e6eab Only track selections that start with a left-click
Closes #396
2013-03-27 21:06:56 -04:00
Kevin Sawicki
a3483d0ffe Remove native injection from web worker contexts
Tasks are now processed based and so web workers no
longer need access to the native extension.
2013-03-27 20:51:01 -04:00
probablycorey
0fe93bef91 StatusBar now triggers grammar-selector:show 2013-03-27 17:34:14 -07:00
probablycorey
72f57ad993 Remove old grammar view files 2013-03-27 17:34:14 -07:00
Kevin Sawicki
70010bad56 Un-f grammar-selector specs 2013-03-27 20:30:22 -04:00
probablycorey
5308e03096 Move GrammarView into GrammarSelector package 2013-03-27 17:02:13 -07:00
probablycorey
8323b0defd 💄 2013-03-27 16:30:33 -07:00
probablycorey
fd7772a653 Reset scrollLeft when setSoftWrapColumn is called
When the scroll view is scrolled and overflow-x is set to 
'hidden' the scroll view renders wrong. Setting scrollLeft to 0 fixes
this problem. I'm unhappy with this solution, but it was a
simple way to get the scroll view to update its layout.

Closes #137
2013-03-27 15:13:55 -07:00
probablycorey
a48a52922b Indent soft-wrap spec correctly 2013-03-27 15:13:55 -07:00
Kevin Sawicki
1d84274973 Return existing selections from addSelection()
Previously if a selection was added and then merged
away the selection-added event would still fire even
though the selection was already destroyed.

Now the existing selection that intersects with the
range is returned when the merge destroys the new selection.

Closes #374
2013-03-27 17:59:55 -04:00
Kevin Sawicki
b6334483c9 Hide the loading message when eval throws an error 2013-03-27 15:43:09 -04:00
Kevin Sawicki
7f8adf247e Show root view events when no element has focus
Closes #327
2013-03-27 14:28:18 -04:00
Kevin Sawicki
4c9ebc940c Remove unneeded initialization of variable from superclass 2013-03-27 14:28:17 -04:00
Kevin Sawicki
d14ddf6f38 Remove unused require 2013-03-27 14:28:17 -04:00
probablycorey
a1b82e9dad Allow mini-editors to explicitly set their grammars 2013-03-27 11:00:53 -07:00
Kevin Sawicki
5a7f2a9ef4 Don't show duplicates in open buffer list
Closes #378
2013-03-27 11:56:32 -04:00
Kevin Sawicki
8d22b6d1b3 💄 2013-03-27 11:56:32 -04:00
Cheng Zhao
bc211a2231 Should erase cef in rake clean. 2013-03-27 23:09:01 +08:00
Nathan Sobo
38924f5bb8 Upgrade to latest space pen, as an NPM 2013-03-27 11:06:49 -04:00
Cheng Zhao
ac30781db8 Merge pull request #444 from github/process-task
Add ProcessTask
2013-03-26 23:00:03 -07:00
Cheng Zhao
4768ae9008 Rename node-nsspellchecker to node-spellchecker. 2013-03-27 12:25:55 +08:00
Cheng Zhao
7effc4c456 💄 2013-03-27 12:25:55 +08:00
Cheng Zhao
6ce25d4c71 Fix the usage of spawn. 2013-03-27 12:25:54 +08:00
Cheng Zhao
371fdde4f9 Use atom/cefode. 2013-03-27 12:25:54 +08:00