Corey Johnson
7708d645c9
Merge pull request #1526 from atom/ks-remove-immediate-and-sync-activate-calls
...
Remove immediate/sync option to activatePackage
2014-02-11 16:56:49 -08:00
Kevin Sawicki
de88d6b624
Support moving up folds around folds
2014-02-11 15:55:32 -08:00
Kevin Sawicki
04c59952d5
Support moving down folds around folds
2014-02-11 15:55:32 -08:00
Kevin Sawicki
a93bfb5f8c
Make sure moved lines don't go into a fold
2014-02-11 15:55:32 -08:00
Kevin Sawicki
2579f2993b
💄 folded not folder
2014-02-11 15:55:32 -08:00
Kevin Sawicki
f9cdc4883e
Move around folds when moving lines down
2014-02-11 15:55:32 -08:00
Kevin Sawicki
d8da977b20
Add failing spec
2014-02-11 15:55:31 -08:00
probablycorey
1d4cab404d
Fix specs for Editor View
2014-02-10 15:52:34 -08:00
Kevin Sawicki
70a7514f9e
Add Clipboard::readWithMetadata
...
This includes the associated metadata and Clipboard::read now returns
a String.
2014-02-03 13:20:28 -08:00
Kevin Sawicki
569ab416b8
Replace pasteboard references with clipboard
2014-02-03 13:12:33 -08:00
Kevin Sawicki
b1e99d9927
Use atom.clipboard instead of atom.pasteboard
2014-02-03 13:10:10 -08:00
Kevin Sawicki
e6565f6561
Return object from Pasteboard::read
...
Closes #1465
2014-02-03 12:19:14 -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
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
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
b2dff15e51
Toggle folding upon 'mousedown' on a foldable line's fold-icon
2014-01-17 15:17:13 -07:00
Nathan Sobo
8757e1f145
Add downward pointing chevrons next to foldable row numbers in gutter
2014-01-17 14:34:53 -07:00
probablycorey
95f2d02d18
Merge branch 'master' into cj-remove-editor-view-delegate-methods
...
Conflicts:
package.json
spec/workspace-view-spec.coffee
src/editor.coffee
src/gutter.coffee
2014-01-13 15:06:18 -08:00
Nathan Sobo
b438b311f3
Rename showItem methods to activateItem
...
These methods set the *active* item, so the verb activate provides a
clearer correspondence. We could change the noun to "shown" item, but
that's awkward and having both active panes and active items is a nice
correspondence in terminology.
2014-01-12 17:40:57 -07:00
probablycorey
32b5592475
Fix EditorView spec
2014-01-10 15:32:36 -08:00
Nathan Sobo
d34327a667
Remove the EditorView when Editor is destroyed
2014-01-10 11:56:27 -07:00
Nathan Sobo
42b203d502
🚱 Fix mini editor leak
...
Previously, we were overriding Editor::destroy, which is now provided
by telepath. Since the real destroy wasn't being called, we were failing
to remove editors associated with mini editor views.
2013-12-18 17:05:34 -07:00
Kevin Sawicki
433b64d581
Update spec for new hard tab span text length
2013-12-06 08:27:00 -08:00
Kevin Sawicki & Nathan Sobo
94e4fef108
Use DisplayBuffer::lineForRow in EditorView::positionLeftForLineAndColumn
...
Previously the tokenized lines were obtained from the tokenized buffer
which skipped the translation to screen coordinates.
Closes #1231
2013-12-06 08:26:59 -08:00
Kevin Sawicki
ee7ef0f893
Add spec that previously failed
2013-12-03 10:54:27 -08:00
probablycorey
776d58bf21
Merge remote-tracking branch 'origin/master' into cj-feedback-package
...
Conflicts:
package.json
src/editor-view.coffee
2013-11-27 11:26:34 -08:00
Kevin Sawicki
48692e5127
Update EditSession to Editor in method references
2013-11-26 19:35:16 -08:00
Kevin Sawicki
f1e768767e
Rename EditorView::activeEditSession to editor
2013-11-26 19:35:16 -08:00
probablycorey
dde46ca931
Merge remote-tracking branch 'origin/master' into cj-feedback-package
...
Conflicts:
package.json
2013-11-26 16:59:57 -08:00
probablycorey
a0ceb78627
Move snapshot code to package
2013-11-26 11:15:55 -08:00
Kevin Sawicki
2e801fbf87
Rename root-view to workspace-view
2013-11-26 11:02:53 -08:00
Kevin Sawicki
3ce6176313
Rename rootView to workspaceView
2013-11-26 11:02:53 -08:00
Ben Ogle
0c2c739741
Add ability for placeholder text in mini editor
2013-11-25 14:46:54 -08:00
Kevin Sawicki
aab63c26e7
Add atom prefix to project
2013-11-20 17:23:47 -08:00
Kevin Sawicki
d0b380e535
Add atom prefix to rootView and project references
2013-11-20 17:23:47 -08:00
Kevin Sawicki
f9498732a5
Add atom prefix to rootView
2013-11-20 17:23:47 -08:00
Kevin Sawicki
1e68a7266f
Add atom prefix to keymap global
2013-11-20 12:49:16 -08:00
Kevin Sawicki
ce3ec75c55
Remove remaining package manager shims
2013-11-20 12:49:15 -08:00
probablycorey
31a9bb83cf
Replace editSession variables with editor
2013-11-19 15:22:47 -08:00
probablycorey
6fdd4f775b
Rename TextEditor and TextEditorView to Editor and EditorView
2013-11-19 14:57:35 -08:00