Antonio Scandurra
3b5a0b292d
📝 Better and consistent naming across specs and docs
2015-03-12 12:32:59 +01:00
Antonio Scandurra
faa2944232
✅ Cover edge case scenario
...
...where buffer rows are less than rows fitting on screen
2015-03-12 10:33:19 +01:00
Antonio Scandurra
912dd732a9
🎨 Uniform new tests structure
2015-03-12 10:17:26 +01:00
Antonio Scandurra
9f1bb82451
Adjust DisplayBuffer#getVisibleRowRange logic
...
This fixes #4596 , where the calculation returned a wrong range.
* 📝 State clearly that we'll return a closed interval in docs
* ✅ Write tests to ensure a correct behavior
2015-03-12 10:08:02 +01:00
Max Brunsfeld
f1375ca849
Merge pull request #5875 from atom/mb-multi-folder-all-the-time
...
Always open all CLI paths in the same window
2015-03-10 14:31:42 -07:00
Antonio Scandurra
8c297ba1fc
✅ Verify corrupted state graceful handling
2015-03-09 13:43:33 +01:00
Max Brunsfeld
a6e8f8a08a
Always open all CLI paths in the same window
...
No more 'atom --multi-folder'
2015-03-05 15:23:28 -08:00
Kevin Sawicki
7a3065e0fb
Add spec for invalid settings notification
2015-03-04 11:18:15 -08:00
Kevin Sawicki
f02fa4a245
Add spec for invalid grammar notification
2015-03-04 11:12:09 -08:00
Kevin Sawicki
59c3dea77b
Show notification for invalid context menu selector
2015-03-04 10:02:04 -08:00
Kevin Sawicki
a2d9ba2d2e
Only try to require main module once
2015-03-04 10:02:04 -08:00
Kevin Sawicki
628380ff3d
Unfocus spec
2015-03-04 10:02:04 -08:00
Kevin Sawicki
6c87dc05f3
Migrate specs from console.warn to notifications
2015-03-04 10:02:03 -08:00
Kevin Sawicki
fa2eab5b7e
Show notification when parsing package.json fails
2015-03-04 10:02:03 -08:00
Kevin Sawicki
a7bd20f08f
Remove unused fixture
2015-03-04 10:02:03 -08:00
Kevin Sawicki
5902bc42e9
Throw error when adding context menu with invalid selector
2015-03-04 10:02:03 -08:00
Kevin Sawicki
333a495d55
Catch errors adding activation commands
2015-03-04 10:02:03 -08:00
Kevin Sawicki
8ba098b640
Throw an error when adding an invalid selector
2015-03-04 10:02:03 -08:00
Michael Bolin
a0a4dac571
Fix a bug when a URI is passed to atom.project.removePath().
2015-03-03 21:44:54 -08:00
Ben Ogle
5f7015f303
Remove isInitialEmptyEditor
2015-03-03 13:18:02 -08:00
Ben Ogle
80b1d89c62
Check getLoadSettings to decide to open initial buffer
2015-03-03 12:34:54 -08:00
Ben Ogle
80cd20193a
Move the logic for opening empty initial buffer to renderer
2015-03-03 11:39:38 -08:00
Ivan Zuzak
e452070847
Merge branch 'master' into iz-gutter-click-select-whole-soft-wrapped-line
2015-03-03 15:40:56 +01:00
Ivan Zuzak
03a064b6e9
Add specs for mouse interactions on gutter with soft wrap
2015-03-03 13:59:46 +01:00
Max Brunsfeld
8fac0e8778
Merge pull request #5795 from mostafaeweda/master
...
Default directory provider should handle only local filesystem directories
2015-03-02 16:04:54 -08:00
Mostafa Eweda
b74a688baa
Bare minimum fix to the default directory provider
2015-03-02 14:28:01 -08:00
Antonio Scandurra
a12bf66e41
Merge branch 'master' into batch-updates
2015-02-28 10:21:48 +01:00
Antonio Scandurra
78a1a724db
🎨 More expressive specs
2015-02-28 09:55:49 +01:00
Antonio Scandurra
436322fc41
Call it onDidUpdateState
2015-02-28 09:36:56 +01:00
Antonio Scandurra
0dca5a5fcd
Encapsulate state update inside TextEditorPresenter#getState
2015-02-28 09:25:53 +01:00
Ivan Zuzak
574158dc6d
Add test for foldable icons on soft wrapped lines
2015-02-27 15:30:24 +01:00
Nathan Sobo
f15c029938
Merge pull request #5759 from atom/as-soft-wrap-hangs-on-small-windows
...
Do not hang on soft wrapping when editor is very small
2015-02-27 01:00:20 -07:00
Antonio Scandurra
efefc0dc66
DisplayBuffer#getEditorWidthInChars must always be >= 0
2015-02-27 00:55:03 +01:00
Nathan Sobo
6a9abd1f66
🐎 Don’t blink cursors when editor isn’t focused
...
Signed-off-by: Max Brunsfeld <maxbrunsfeld@gmail.com >
2015-02-26 15:23:11 -07:00
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