Antonio Scandurra
a7ff49ebaa
🎨
2015-06-13 17:36:20 +02:00
Antonio Scandurra
e190d441ed
🔥
2015-06-13 14:25:50 +02:00
Antonio Scandurra
e893b5105b
Remove presenter as a dependency where possible
...
Although we have a couple of components which still access it, we
agreed it would have been just better to avoid relying on
`TextEditorPresenter` where possible and use it purposefully in other
places (e.g. `LinesComponent` which needs it to store text
measurements).
/cc: @jssln
2015-06-13 14:18:36 +02:00
Max Brunsfeld
715238c3cd
Add by clauses to for loops to avoid complex loop increments
2015-06-12 16:38:07 -07:00
Max Brunsfeld
6282e7e533
Merge pull request #7234 from atom/mb-keep-state-when-auto-updating
...
Avoid saving state when closing windows due to auto-update
2015-06-12 10:50:57 -07:00
Max Brunsfeld
c43233892b
Merge pull request #7225 from lpommers/add-remove-cursor-when-there-are-multiple-cursors-if-cmd-clicking-on-it
...
Add remove cursor when there are multiple cursors and cmd clicking on it
2015-06-12 10:41:17 -07:00
Antonio Scandurra
b6049857ed
🎨
2015-06-12 19:00:15 +02:00
Antonio Scandurra
374aaac7b5
Rename to LinesTileComponent
2015-06-12 18:32:40 +02:00
Antonio Scandurra
6bff934b76
🎨
2015-06-12 18:22:43 +02:00
Antonio Scandurra
7ac0cdcbf5
Start porting TextEditorComponent spec
2015-06-12 18:22:33 +02:00
Antonio Scandurra
13087eb58e
Handle Max Line Number Digits
2015-06-12 12:39:24 +02:00
Antonio Scandurra
d45fc8a41f
Port TextEditorPresenter specs
2015-06-12 12:10:55 +02:00
Antonio Scandurra
f1c5745780
Merge branch 'master' into as-tiled-gutter
2015-06-12 10:49:19 +02:00
Antonio Scandurra
d14e7b9456
Enable maxLineNumberDigits
2015-06-12 10:41:50 +02:00
Luke Pommersheim
9f0f4c0530
refactor getCursorAtScreenPosition to avoid temporary array
2015-06-12 08:38:25 +02:00
Luke Pommersheim
3b3dc83a38
📝 updating docs for getCursorAtScreenPosition - can also take an {Array}
2015-06-12 08:36:44 +02:00
Max Brunsfeld
e47221bc3f
Never save window state in the middle of quitting
2015-06-11 17:24:12 -07:00
Kevin Sawicki
7a6a48d7ea
Move getSaveDialogOptions near other save methods
2015-06-11 15:31:43 -07:00
Kevin Sawicki
a0778217df
Merge pull request #7145 from FoldingText/Item-provides-save-panel-options
...
Item provides save panel options
2015-06-11 15:28:24 -07:00
Kevin Sawicki
48bf4203e1
Merge pull request #7237 from ssorallen/git-repository-docs
...
Add missing docs for GitRepository
2015-06-11 15:22:47 -07:00
Nicklas Gummesson
51dcc84fce
Bind core:cut to native action
...
Using same pattern as the others
2015-06-11 23:10:26 +02:00
Ross Allen
51016550c3
Add missing docs for GitRepository
...
Add argument and return type docs to fill in the documentation site.
2015-06-11 13:45:06 -07:00
Max Brunsfeld
844cfcb7ae
Avoid saving state when closing windows due to auto-update
2015-06-11 12:51:36 -07:00
Antonio Scandurra
eb48f06d2f
Merge branch 'master' into as-tiled-gutter
2015-06-11 18:38:31 +02:00
Luke Pommersheim
c67f98febb
if there are multiple cursors and you click a cursor, it is removed, otherwise new cursor is added. Cannot remove if there is only one cursor and you click on it
2015-06-11 13:26:09 +02:00
Luke Pommersheim
5822eb11f1
function that returns the first matched Cursor at a given screen position Point if it exists in that location
2015-06-11 13:02:14 +02:00
herkyl
b3687265bb
Fixed 'setBufferRange' documentation parameter name
2015-06-11 10:37:38 +03:00
Kevin Sawicki
0edce07446
Use folder name when metadata name is empty string or non-string
2015-06-10 16:46:35 -07:00
Kevin Sawicki
4d76e607f0
Use dirname for forwarding atom/apm commands
...
Refs #7141
2015-06-10 16:30:54 -07:00
Max Brunsfeld
48ca93261f
Merge pull request #7219 from atom/bf-revert-the-revert-of-pr-7022
...
Re-introduce atom.directory-searcher service v0.1.0.
2015-06-10 15:51:19 -07:00
Kevin Sawicki
3b6015954b
Merge pull request #7176 from atom/mq-package-name-metadata
...
Only use package directory name as fallback
2015-06-10 15:38:31 -07:00
Michael Bolin
ad46b37cfe
In workspace-spec.coffee, updated FakeSearch to match the spec, which
...
helped uncover a bug.
2015-06-10 23:30:42 +01:00
Michael Bolin
3c44bc06f4
Revert "Revert "Introduce atom.directory-searcher service v0.1.0.""
...
This reverts commit 262d41c306 .
2015-06-10 23:30:25 +01:00
Kevin Sawicki
c3953dbbd4
Don't focus when opening locations
2015-06-10 09:27:20 -07:00
Kevin Sawicki
7d7b2375e1
Focus right after showing
2015-06-10 09:27:20 -07:00
Max Brunsfeld
6bccfcd0a3
Guard for atom windows w/ no webContents
2015-06-09 16:45:27 -07:00
Nathan Sobo
04c9567181
Massage message a bit
2015-06-10 01:30:12 +02:00
Max Brunsfeld
f2851ac11d
Merge pull request #7192 from atom/as-fix-empty-partially-off-screen-markers
...
Delete partially off-screen markers which are empty
2015-06-09 15:04:52 -07:00
Antonio Scandurra
f73435e053
🐛 Delete partially off-screen markers which are empty
...
* 🔥 Delete old code which was used to support some non-batched
methods in a previous version;
* ✅ Cover “partially off-screen markers which are
empty” scenario, since that code path was not hit by previous specs
Fixes #7183
2015-06-09 21:35:01 +02:00
Max Brunsfeld
262d41c306
Revert "Introduce atom.directory-searcher service v0.1.0."
2015-06-09 11:51:30 -07:00
Max Brunsfeld
f830623512
Merge pull request #7022 from atom/bf-directory-searcher
...
Introduce atom.directory-searcher service v0.1.0.
2015-06-09 09:40:06 -07:00
Kevin Sawicki
fb48b38aa7
Guard against no resizing with no siblings
...
Closes #7091
2015-06-09 09:36:58 -07:00
Michael Bolin
535c0e2f34
Fix documentation bug.
2015-06-09 15:34:10 +01:00
Michael Bolin
1a6c542b45
Update comment.
2015-06-09 15:34:10 +01:00
Michael Bolin
6b1b57c89c
Rename a variable to reflect a change in the previous commit.
2015-06-09 15:34:10 +01:00
Michael Bolin
0630bce95c
Two things:
...
* Removed the `Directory` argument to `didSearchPaths`.
Now each searcher gets its own instance of `didSearchPaths` that is parameterized by provider.
* Simplified `DefaultDirectorySearcher.search()` so it creates one `DirectorySearch`
rather than one per `Directory` passed to `search()`.
2015-06-09 15:34:10 +01:00
Michael Bolin
18ac7d0cbc
Comment excised, as recommended by @maxbrunsfeld.
2015-06-09 15:34:09 +01:00
Michael Bolin
028ac79836
Changed the behavior so that if a searcher rejects,
...
then the thenable returned by `atom.workspace.scan()` rejects.
2015-06-09 15:34:09 +01:00
Michael Bolin
7dc3d07f8a
Changed the contract of DefaultDirectorySearcher in two significant ways:
...
* `search()` takes an array of `Directory` objects rather than an individual object.
* `options.didSearchPaths` now takes the `Directory` in addition to the `count` as an argument.
2015-06-09 15:34:09 +01:00
Michael Bolin
36123faf5d
Changed DefaultDirectorySearcher to take multiple directories.
...
Still need to update `workspace.coffee` to make better use of this.
2015-06-09 15:34:09 +01:00