Commit Graph

6724 Commits

Author SHA1 Message Date
Mutwin Kraus
cc87595e4e Serialize TextBuffer inside EditSession serialize 2013-04-02 15:45:16 -06:00
Mutwin Kraus
693d8258ad Preserve buffer contents for unsaved files when reloading 2013-04-02 15:45:16 -06:00
Kevin Sawicki
9a8fd062c4 Throw error instead of string 2013-04-02 14:40:55 -07:00
Kevin Sawicki
07b40265fb Log error when no stack exists 2013-04-02 14:40:30 -07:00
Kevin Sawicki
3cfbbc5d94 Attach to DOM in specs that alter the mini editor
This is now required since populateList() is only
calls when the timeout is fired and the select list
is still on the DOM.
2013-04-02 13:22:46 -07:00
Kevin Sawicki
f3e1a72882 Only populate list from timeout when still on DOM 2013-04-02 13:14:56 -07:00
Kevin Sawicki
0e1adddd2f Remove double de-duplication of paths 2013-04-02 09:32:08 -07:00
Kevin Sawicki
995ae4c9e2 Merge branch 'absolute-paths-in-fuzzy-finder' 2013-04-02 09:28:53 -07:00
Kevin Sawicki
4ce4529022 Use absolute paths in specs 2013-04-02 09:17:53 -07:00
Kevin Sawicki
cb1d9af06e Only add folder span if project-relative path isn't empty 2013-04-02 09:12:39 -07:00
Kevin Sawicki
2e0a6af8ca Add back serializiation of last opened time 2013-04-02 09:04:42 -07:00
Kevin Sawicki
e3236675c9 Upgrade to coffee 1.6.2 2013-04-02 08:28:30 -07:00
Kevin Sawicki
4971a73c01 Merge branch 'master' into tweak-coffee 2013-04-02 08:27:35 -07:00
probablycorey
bd3eb02b1b Remove sortable list class
Because sortable list was only being used by tab bar view, I got rid
of the class hierarchy.
2013-04-01 17:10:48 -07:00
probablycorey
7e2ea8aff1 Allow tabs to be moved to the beginning and end of the tab bar
Closes #409 (409, puts grease on the run! http://www.dailymotion.com/video/xxsbbb_formula-409-1990-puts-grease-on-the-run-commercial-2_tv#.UVocOZbF30Y)
2013-04-01 16:46:57 -07:00
probablycorey
ecb159738f Rename singleTrailingNewline to ensureSingleTrailingNewline 2013-04-01 10:44:34 -07:00
probablycorey
66044175cc Add spec for when singleTrailingNewline is false 2013-04-01 10:44:34 -07:00
probablycorey
326bfe1188 default singleTrailingNewline to true 2013-04-01 10:44:34 -07:00
probablycorey
875474d496 💄 2013-04-01 10:44:34 -07:00
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
Chris Wanstrath
7f8978f07a absolute paths 2013-03-27 19:11:27 -07:00
Chris Wanstrath
764a7bf257 Merge branch 'master' into absolute-paths-in-fuzzy-finder
Conflicts:
	src/packages/fuzzy-finder/lib/load-paths-handler.coffee
2013-03-27 19:10:50 -07: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