Mutwin Kraus
2cda2b9fe2
Move cursor to beginning of next word
2013-04-03 16:32:30 +02:00
Kevin Sawicki
ba028f6358
Support ~/.atom/user.less
2013-04-02 17:37:21 -07:00
probablycorey
f4264f00f8
Modernize markdown preview spec
2013-04-02 17:09:08 -07:00
Corey Johnson
606f446c27
Log warning when trying to render non-markdown file
2013-04-02 17:00:42 -07:00
Corey Johnson
2944b64795
Show GitHub API error message when markdown preview fails
2013-04-02 17:00:41 -07:00
Corey Johnson
55d4625091
Only display markdown preview on save if preview already exists
2013-04-02 17:00:41 -07:00
Corey Johnson
5f2c4dad95
Only show markdown preview if the edit session's grammar is GFM
2013-04-02 16:59:44 -07:00
Corey Johnson
e03f2fd738
Markdown preview listens to core:save on activate
2013-04-02 16:59:44 -07:00
Mutwin Kraus
5c93fd4574
Update markdown preview when markdown buffer is saved
2013-04-02 16:59:44 -07:00
Mutwin Kraus
9a6b5986fe
Add editor.selectLine
2013-04-02 15:24:12 -07:00
Mutwin Kraus
a9c74762cc
Add focusPreviousPane to pane container
2013-04-02 15:24:12 -07:00
Nathan Sobo
1bbc9f61e9
Remove unsaved buffer prompt on reload now that we handle it correctly
2013-04-02 15:45:17 -06:00
Nathan Sobo
dab8c5b53b
Assign cachedDiskContents when unsaved buffer is deserialized
...
This allows the buffer to return to an "unmodified" state if the
unsaved changes are reversed.
2013-04-02 15:45:16 -06:00
Nathan Sobo
3150785db2
Ensure we never deserialize two instances of the same buffer
...
We might have two edit sessions pointing to the same buffer, for
example if we have a split pane… So when we deserialize a buffer, we
always need to check that we don't already have an instance of that
buffer on the project. If we do, then we've already deserialized it
once so we don't need to worry about the saved text.
We still have a problem when deserializing previously unsaved buffers,
because we can't use the path to identify them.
2013-04-02 15:45:16 -06:00
Nathan Sobo
e8216a8313
Don't store @project reference inside TextBuffer. Use the global.
2013-04-02 15:45:16 -06:00
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
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
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
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
a1e1bee334
Allow theme's package.cson to leave off stylesheet extension
2013-03-29 15:02:44 -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
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
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
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