Nathan Sobo
cd310dbe58
Rename ‘blinkCursorsOff’ to ‘cursorsVisible’ in presenter state
2015-02-26 15:21:47 -07:00
Max Brunsfeld
ddcb874f6b
Base state file path on sorted project paths
2015-02-26 12:50:56 -08:00
Max Brunsfeld
72147be4bc
Merge pull request #5768 from atom/mb-save-state-based-on-project-paths
...
Base state path on project paths
2015-02-26 11:55:17 -08:00
Max Brunsfeld
173502bab4
Base state path on project paths
2015-02-26 11:21:44 -08:00
Max Brunsfeld
25edc9d565
Merge pull request #5753 from atom/mb-project-split-path
...
Add API for getting paths relative to project dirs
2015-02-26 09:13:11 -08:00
Max Brunsfeld
69b1a08ef5
Rename .splitPath -> .relativizePath
2015-02-26 08:46:00 -08:00
Nathan Sobo
c9ce9f41c2
Merge pull request #5567 from as-cii/indent-soft-wrap
...
Indent soft wrap
2015-02-25 19:06:35 -07:00
Max Brunsfeld
b307024218
Add API for getting paths relative to project dirs
2015-02-25 17:15:08 -08:00
Kevin Sawicki
d0f7444f86
Merge pull request #5744 from atom/ks-optional-activate
...
Make package activation function optional
2015-02-25 14:17:53 -08:00
Nathan Sobo
986e8bf85f
Allow multiple space-delimited classes for highlight decorations
...
Fixes #5747
2015-02-25 14:35:32 -07:00
Kevin Sawicki
bfe3bc3659
Make package activate optional
2015-02-25 11:16:09 -08:00
Kevin Sawicki
96fb179d71
Merge pull request #5707 from atom/bf-grim-6to5
...
Report deprecation warning when 'use 6to5' is used instead of 'use babel'.
2015-02-25 10:07:39 -08:00
Kevin Sawicki
feb37c5df6
📝 Mention deprecations
2015-02-25 09:42:49 -08:00
Kevin Sawicki
e51f8b298e
Add specs for pragma deprecations
2015-02-25 09:37:42 -08:00
Max Brunsfeld
88c2cef91f
Make :checkout-head-revision command work w/ multiple repos
2015-02-24 15:30:04 -08:00
Max Brunsfeld
cbefdd6c5e
Make Workspace::scan work w/ multiple root directories
2015-02-24 14:22:39 -08:00
Max Brunsfeld
a1ba470c5b
Don't add project paths when opening a file in an existing window
2015-02-24 12:09:10 -08:00
Max Brunsfeld
cd9a1ccb9f
🎨 organize integration spec
2015-02-24 11:40:29 -08:00
Nathan Sobo
0bf0c0527f
Don’t tokenize spaces preceding combining chars as leading whitespace
...
Fixes #5349
2015-02-24 12:10:25 -07:00
Nathan Sobo
5fdb3cde08
Fix ::longestScreenRow update for changes directly above longest line
...
Fixes #5716
2015-02-24 11:36:01 -07:00
Antonio Scandurra
088b3193e9
Merge branch 'master' into indent-soft-wrap
2015-02-24 08:30:36 +01:00
Max Brunsfeld
0be34a892f
Merge pull request #5660 from atom/bf-git-repository-provider-should-not-throw
...
Make sure that GitRepositoryProvider.repositoryForDirectorySync() return...
2015-02-23 17:21:48 -08:00
Nathan Sobo
2e8c5855d4
Don’t attempt to preserve mouseWheelScreenRow if it’s deleted
...
Fixes #5527
2015-02-23 10:51:16 -08:00
Michael Bolin
61fb408777
Tighten up comment.
2015-02-23 10:10:37 -08:00
Michael Bolin
6bd6a8ccdd
Introduce use of beforeEach() in unit test.
2015-02-23 09:59:16 -08:00
Michael Bolin
07039ba47a
Check whether existsSync() is available in GitRepositoryProvider before trying to call it.
2015-02-23 09:30:43 -08:00
Antonio Scandurra
007ec75fbf
Merge branch 'master' into indent-soft-wrap
2015-02-21 12:14:05 +01:00
Michael Bolin
6d24aaf497
Make sure that GitRepositoryProvider.repositoryForDirectorySync() returns null rather than throws.
...
The UI locks up if this method does not return.
2015-02-21 00:07:40 -08:00
Kevin Sawicki
25befa7368
Update fixture path in compile cache spec
2015-02-20 15:55:41 -08:00
Kevin Sawicki
631c95643d
to5 -> babel
2015-02-20 15:24:21 -08:00
Kevin Sawicki
caff9e0866
Merge pull request #5579 from sebmck/babel
...
Rename 6to5 to Babel
2015-02-20 15:04:26 -08:00
Nathan Sobo
964809373b
Merge branch 'ns-manual-dom-updates'
2015-02-20 15:29:33 -07:00
Nathan Sobo
32d393d26f
Pause polling when updates are requested, but don’t start polling over
...
The blinking cursor was ensuring that we never polled in certain cases.
We need to allow the interval to continue polling at a normal pace, but
just avoid doing any work that could delay the next animation frame.
2015-02-20 09:51:11 -07:00
Antonio Scandurra
0258531a3c
Use softWrapIndentation name consistently
2015-02-20 10:28:27 +01:00
Antonio Scandurra
ab5c79d009
Revert softWrapAtNewline attempt
...
...now we use `skipSoftWrapIndentation: true` when moving up and down.
2015-02-20 10:02:34 +01:00
Antonio Scandurra
ed77358515
Show guide on soft wrapped lines with indentation
...
* Rename phantomToken to softWrapIndent and use it consistently
* Build multiple softWrapIndent tokens in order to show guides
* Memoize softWrapIndentTokens and softWrapIndentDelta
2015-02-20 09:29:37 +01:00
Michael Bolin
d5abd87643
reword it() message
2015-02-19 21:35:07 -08:00
Michael Bolin
54c7070648
kill assertions about directoryProviders
2015-02-19 21:16:30 -08:00
Michael Bolin
bf9c4132b2
Create a comprehensive test for the new behavior in Project.
2015-02-19 21:02:31 -08:00
Michael Bolin
461cd8c5fe
Introduce atom.directory-provider service.
...
A `Project` will always have a `DefaultDirectoryProvider` that
will be used if there are no other `DirectoryProvider` objects
that can produce a `Directory` for a path.
2015-02-19 20:26:06 -08:00
Michael Bolin
c728ad6d57
Introduce atom.directory-provider service.
...
A `Project` will always have a `DefaultDirectoryProvider` that
will be used if there are no other `DirectoryProvider` objects
that can produce a `Directory` for a path.
2015-02-19 17:57:18 -08:00
Nathan Sobo
1d84d74e50
Centralize text editor DOM interaction through atom.views
...
This ensures that DOM writing, reading, and polling properly interleaves
with DOM interactions from other text editors and any other code that
coordinates via atom.views. Not sure about the location of it though.
2015-02-19 17:14:58 -07:00
Nathan Sobo
de4d995190
Add document coordination methods to ViewRegistry
...
These will assist in updating and reading the DOM in a non-blocking
manner across components.
2015-02-19 17:14:57 -07:00
Nathan Sobo
7033b27207
Make EditorComponent a plain JS object rather than a React component
2015-02-19 17:14:57 -07:00
Nathan Sobo
5ecefe7213
Update scoped config values in presenter when grammar changes
2015-02-19 17:14:56 -07:00
Nathan Sobo
2fba4979f9
Use presenter to determine gutter visibility
2015-02-19 17:14:56 -07:00
Nathan Sobo
156569f19e
Add TextEditorPresenter::state.gutter.visible
2015-02-19 17:14:55 -07:00
Nathan Sobo
bf29a020e1
Use presenter for focused state in EditorComponent
2015-02-19 17:14:55 -07:00
Nathan Sobo
4654bad543
Add .focused to presenter state
...
Signed-off-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
2015-02-19 17:14:55 -07:00
Nathan Sobo
52a9a76b2a
Use presenter state in InputComponent
2015-02-19 17:14:54 -07:00