Commit Graph

12763 Commits

Author SHA1 Message Date
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
Nathan Sobo
3eb7c9d767 Add LanguageMode::toggleLineCommentForBufferRow for toggling single rows 2014-01-20 11:14:27 -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
Nathan Sobo
99f025d5d6 Rename .fold-icon to .icon-right in gutter to make it multi-purpose 2014-01-17 16:59:50 -07: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
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
Nathan Sobo
926493f05c Emit 'item-added' before setting the ::activeItem when adding first item
Fixes atom/tabs#11
2014-01-17 11:10:17 -07:00
probablycorey
4f82662263 Fix page up/page down keybindings 2014-01-17 08:28:45 -08:00
Cheng Zhao
dfa3d8a1c7 Temporarily workaround for slow net.connect, fixes #1429. 2014-01-17 20:31:03 +08:00
Kevin Sawicki
677ec44b37 Dedupe humanize-plus 2014-01-16 18:54:58 -08:00
Kevin Sawicki
0359e933d1 Upgrade to image-view@0.17.0 2014-01-16 18:43:58 -08:00
Kevin Sawicki
ff88c1c41f Merge pull request #1434 from atom/ks-dedupe-modules
Dedupe modules
2014-01-16 18:43:05 -08:00
Kevin Sawicki
0acc632cf5 Upgrade to less-cache@0.11.0 2014-01-16 18:31:14 -08:00
Kevin Sawicki
2c65a30d4a Upgrade to text-buffer@0.15.0 2014-01-16 18:31:14 -08:00
Kevin Sawicki
590b8ec221 Upgrade to space-pen@3.1.1 2014-01-16 18:31:14 -08:00
Kevin Sawicki
cff1a012af Upgrade apm for dependency updates 2014-01-16 18:31:14 -08:00
Kevin Sawicki
3ea057a145 Upgrade to text-buffer@0.14.0 2014-01-16 18:31:14 -08:00
Kevin Sawicki
b30ea21ab9 Upgrade to snippets@0.20.0 2014-01-16 18:31:14 -08:00
Kevin Sawicki
44d42380b8 Upgrade to tree-view@0.63.0 2014-01-16 18:31:14 -08:00
Kevin Sawicki
f906afa8ec Upgrade to archive-view@0.21.0 2014-01-16 18:31:14 -08:00
Kevin Sawicki
815a282146 Upgrade to image-view@0.16.0 2014-01-16 18:31:14 -08:00
Kevin Sawicki
9fe24acbe9 Upgrade to theorist 1.x 2014-01-16 18:31:13 -08:00
Kevin Sawicki
f2f3745022 Upgrade to link@0.14.0 2014-01-16 18:31:13 -08:00
Kevin Sawicki
d2ecc8c2b6 Upgrade to link@0.13.0 2014-01-16 18:31:13 -08:00
Kevin Sawicki
9166a563c2 Upgrade to first-mate 1.x 2014-01-16 18:31:13 -08:00
Kevin Sawicki
7388468b5a Upgrade to oniguruma 1.x 2014-01-16 18:31:13 -08:00
Kevin Sawicki
21bc658230 Upgrade to terminal@0.26.0 2014-01-16 18:31:13 -08:00
Kevin Sawicki
72f85aeae4 Upgrade to settings-view@0.57.0 2014-01-16 18:31:13 -08:00
Kevin Sawicki
26b3cfc3b2 Upgrade to git-diff@0.23.0 2014-01-16 18:31:13 -08:00
Kevin Sawicki
c91eb1fbbe Upgrade to find-and-replace@0.77.0 2014-01-16 18:31:13 -08:00
Kevin Sawicki
75ed3aa03b Upgrade to dev-live-reload@0.23.0 2014-01-16 18:31:13 -08:00
Kevin Sawicki
00d783fb23 Upgrade to emissary 1.x 2014-01-16 18:31:13 -08:00
Kevin Sawicki
b80e7fc137 Upgrade to property-accessors 1.x 2014-01-16 18:31:13 -08:00
Kevin Sawicki
e1d2bbabfb Upgrade to serializable 1.x 2014-01-16 18:31:13 -08:00
Kevin Sawicki
9de5adf572 Upgrade to delegato 1.x 2014-01-16 18:31:13 -08:00
Kevin Sawicki
2a3eab945d Upgrade to fs-plus@1.0 2014-01-16 18:31:12 -08:00