Nathan Sobo
525b5c9978
Don't make commented lines foldable based on the next line's indentation
...
Only the first line of a set of commented lines should be foldable, even
if some of the lines in the block are indented.
2014-01-20 14:29:08 -07:00
Nathan Sobo
86106cbf4d
Remove redundant specs
2014-01-20 14:27:45 -07:00
Nathan Sobo
519ebb1ca6
Leave folded marker on end of lines in its natural position
...
Previously, we were nudging it upward. Something must have changed at
some point because it looked too high.
2014-01-20 14:22:26 -07:00
Nathan Sobo
da56c1def5
💄 comments
2014-01-20 14:09:25 -07:00
Kevin Sawicki
a6f9b6d2de
Merge pull request #1439 from atom/ks-open-dot-atom-menu-items
...
Add commands to open ~/.atom files
2014-01-20 10:45:34 -08:00
Nathan Sobo
d965e9f56c
Ensure change doesn't precede rendered range when updating foldability
2014-01-20 11:39:30 -07:00
Kevin Sawicki
8f0e0ae4a6
Move open commands to Atom menu
2014-01-20 10:37:14 -08:00
Kevin Sawicki
57a71b3cb3
Forward open commands to browser process
2014-01-20 10:37:14 -08:00
Kevin Sawicki
71c48ec07f
Open .atom files from browser process
...
This allows a new window to be created if there is no currently
focused window.
2014-01-20 10:37:14 -08:00
Kevin Sawicki
4ac3be7ab5
Group open commands with a separator
2014-01-20 10:37:13 -08:00
Kevin Sawicki
5dd83b12c0
Add Open Your Config item to View menu
2014-01-20 10:37:13 -08:00
Kevin Sawicki
905f628b79
Add command to open user config in an editor
2014-01-20 10:37:13 -08:00
Kevin Sawicki
ddad42432b
Add Open Your Keymap item to View menu
2014-01-20 10:37:13 -08:00
Kevin Sawicki
52e999fc11
Add command to open user keymap in an editor
2014-01-20 10:37:13 -08:00
Kevin Sawicki
3114efbf9c
📝 Update path in comment
2014-01-20 10:37:13 -08:00
Kevin Sawicki
8436e8f62e
Reload user keymap when it is moved/removed
2014-01-20 10:37:13 -08:00
Kevin Sawicki
ba1303a895
Add menu to opening user stylesheet
2014-01-20 10:37:13 -08:00
Kevin Sawicki
59c4c15afd
Add command to open ~/.atom/user.less in an editor
2014-01-20 10:37:13 -08:00
Nathan Sobo
2831b43042
Update foldability indicators on changes that don't insert/remove lines
...
On changes that insert/remove lines, we redraw the entire gutter, which
ensures the foldability markers are up to date. But other kinds of
changes could change the foldability of lines… if a line becomes
commented or its indentation changes, the foldability of that line and
the lines above and below could be affected. For now, the gutter
understands this fact and updates the foldability for the region
extending from one line before to one line after each change. Someday
I'd like the view logic to not bake in knowledge of the folding rules,
but this works for now.
2014-01-20 11:17:58 -07:00
Kevin Sawicki
3c8cb557ed
Upgrade to release-notes@0.16.0
2014-01-20 10:17:42 -08:00
Kevin Sawicki
6b8393dced
Upgrade to github-sign-in@0.18.0
2014-01-20 10:16:26 -08:00
Kevin Sawicki
3356b4ac47
Upgrade to github-sign-in@0.17.0
2014-01-20 10:14:41 -08:00
Nathan Sobo
3eb7c9d767
Add LanguageMode::toggleLineCommentForBufferRow for toggling single rows
2014-01-20 11:14:27 -07:00
Nathan Sobo
bbb3ebc2b9
Upgrade to tabes 0.18.0 to support dragging tabs to empty panes
2014-01-19 20:05:51 -07:00
Nathan Sobo
ed93695d64
Add a foldable indicator for multi-line comments
2014-01-18 12:08:37 -07:00
Nathan Sobo
4db2ad53fd
Rename .fold class to .folded on line numbers in gutter
...
Using an adjective blends in better with '.foldable'
2014-01-18 11:35:22 -07:00
Nathan Sobo
149a6825b4
Show bookmarks instead of fold indicators unless hovering
2014-01-17 17:20:37 -07:00
Kevin Sawicki
dd1581aaca
Upgrade to find-and-replace@0.79.0
2014-01-17 16:17:33 -08:00
Nathan Sobo
99f025d5d6
Rename .fold-icon to .icon-right in gutter to make it multi-purpose
2014-01-17 16:59:50 -07:00
Kevin Sawicki
e0cf20cda9
Don't throw error when saving empty pane
...
Closes #1440
2014-01-17 15:24:55 -08:00
Kevin Sawicki
c305384334
Upgrade to styleguide@0.20.0
2014-01-17 15:16:57 -08:00
Nathan Sobo
d879923cdb
Fix gutter view rendering specs
2014-01-17 16:03:02 -07:00
Nathan Sobo
d16526a1f7
Fix references to renamed method in specs
2014-01-17 15:57:49 -07:00
Nathan Sobo
a774c2ff08
🔫 unnecessary return statement
2014-01-17 15:46:49 -07:00
Nathan Sobo
475ff140a7
Make unfolded fold icons darker on hover
2014-01-17 15:22:29 -07:00
Nathan Sobo
fa6bce3085
Rename LanguageModel::isBufferRowFoldable to ::isFoldableAtBufferRow
...
It blends in better with the methods on Editor.
2014-01-17 15:19:07 -07:00
Nathan Sobo
b2dff15e51
Toggle folding upon 'mousedown' on a foldable line's fold-icon
2014-01-17 15:17:13 -07:00
Nathan Sobo
1e3dc05b3d
Nudge chevron-right left a bit to align better with chevron-down
2014-01-17 14:58:16 -07:00
Nathan Sobo
1a12a17b7a
Use actual markup for fold icon so we can determine when it's clicked
2014-01-17 14:55:06 -07:00
Nathan Sobo
8757e1f145
Add downward pointing chevrons next to foldable row numbers in gutter
2014-01-17 14:34:53 -07:00
Nathan Sobo
12ca214d6a
💄 Fix misleading variable name
2014-01-17 14:32:58 -07:00
Nathan Sobo
8e75831318
Rename LanguageMode::doesBufferRowStartFold to ::isBufferRowFoldable
2014-01-17 14:30:40 -07:00
Nathan Sobo
2f049b95a8
Use Delegator mixin to delegate to language mode
2014-01-17 14:07:56 -07:00
Kevin Sawicki
386d4d3eb5
Merge pull request #1437 from atom/ks-watch-user-stylesheet
...
Reload user stylesheet when changed
2014-01-17 12:48:17 -08:00
Kevin Sawicki
6a14c0df81
Remove unused package require
2014-01-17 12:40:33 -08:00
Kevin Sawicki
083204f737
💄 Sort requires
2014-01-17 12:40:21 -08:00
Kevin Sawicki
4d17f625f8
Null out file when unwatching
2014-01-17 12:28:30 -08:00
Kevin Sawicki
64ebc37204
Reload user stylesheet when changed
2014-01-17 11:33:25 -08:00
Nathan Sobo
b4dcec9417
Prepare 0.48.0 release
2014-01-17 11:50:28 -07:00
Kevin Sawicki
ede03fd634
Upgrade to exception-reporting@0.12.0
v0.47.0
2014-01-17 10:12:05 -08:00