Ben Ogle
81532d52f7
Move select all fn so docs read better
2014-09-02 16:45:49 -07:00
Ben Ogle
0b34e46a1a
Merge pull request #3420 from atom/bo-update-cursor-selection-apis
...
Update cursor and selection APIs
2014-09-02 16:41:42 -07:00
Ben Ogle
539e4e0745
Upgrade fnr to fix specs
2014-09-02 15:10:38 -07:00
Ben Ogle
1f925078e9
Remove deprecation
2014-09-02 14:59:06 -07:00
Ben Ogle
a564da1eb0
Remove unnecessary deprecated methods
2014-09-02 14:58:20 -07:00
Ben Ogle
dca36d1307
Reorder return values of getSelectedBufferRanges
...
The implementation does not depend on a specific order, just the test
2014-09-02 14:55:02 -07:00
Ben Ogle
3f67252757
Add row count docs
2014-09-02 14:50:15 -07:00
Ben Ogle
a7db555030
Order the getting ranges / positions by their insertion order
2014-09-02 14:38:11 -07:00
Kevin Sawicki
3bd7edb94e
Upgrade to language-sass@0.21
2014-09-02 14:25:40 -07:00
Kevin Sawicki
a9227b5f43
Upgrade to language-less@0.15
2014-09-02 14:22:51 -07:00
Ben Ogle
659c05c825
Add selectToBufferPosition
2014-09-02 14:09:56 -07:00
Ben Ogle
5ea64f8b11
selectWord() -> selectWordsContainingCursors()
2014-09-02 14:03:57 -07:00
Ben Ogle
70af6198bd
selectLine -> selectLinesContainingCursors
2014-09-02 14:02:26 -07:00
Kevin Sawicki
1aa391a207
Don't load ~/.atom/init.coffee in safe mode
...
This ensures the code from the init script isn't causing issues
when trying to reproduce something in safe mode.
Refs #2772
2014-09-02 13:51:26 -07:00
Kevin Sawicki
03a6d10703
Upgrade to tree-view@0.114
2014-09-02 13:44:13 -07:00
Kevin Sawicki
24add494ae
Normalize project path in Project::setPath
...
This will remove consecutive slashes as well as . and ..
characters and make path comparisons accurate.
Closes atom/tree-view#191
2014-09-02 10:49:02 -07:00
Nathan Sobo
c5aa446bc2
Prevent focusout events on hidden input when clicking focused editors
...
Fixes #3384
This is achieved by calling .preventDefault() on mousedown events when
the editor is already focused, which prevents the moving of focus to
the editor itself.
2014-09-02 11:37:46 -06:00
Kevin Sawicki
fbcef99aac
Upgrade to language-todo@0.11
2014-09-02 09:04:49 -07:00
Kevin Sawicki
8fa8519924
Upgrade to language-python@0.19
2014-09-02 08:56:04 -07:00
Kevin Sawicki
5a36988930
Upgrade to language-xml@0.19
2014-09-02 08:49:06 -07:00
Kevin Sawicki
7f2d9984b8
Upgrade to language-go@0.17
2014-08-29 11:30:06 -07:00
Kevin Sawicki
d43702f017
🐎 Use direct comparison instead of regex
2014-08-29 09:55:50 -07:00
Kevin Sawicki
690d32cca9
Document undefined case
2014-08-29 09:42:51 -07:00
Kevin Sawicki
d870cb8f36
Return undefined to ? fallback works
2014-08-29 09:42:01 -07:00
Kevin Sawicki
7cd080786c
Return a boolean like the comment says
2014-08-29 09:40:55 -07:00
Kevin Sawicki
a8a251c457
💄
2014-08-29 09:36:55 -07:00
Kevin Sawicki
9574458feb
📝 💄
2014-08-29 09:34:59 -07:00
Kevin Sawicki
692bf534b6
Merge pull request #3369 from khakionion/master
...
Better autodetection of Soft Tabs.
2014-08-29 09:34:01 -07:00
Kevin Sawicki
f35346c507
Upgrade to tree-view@0.113
2014-08-29 09:15:34 -07:00
Kevin Sawicki
78f7ff6ee7
Focus existing window after opening path
2014-08-29 09:10:12 -07:00
Kevin Sawicki
71470f88ad
Merge pull request #3409 from syndbg/master
...
Added linux open-folder keybind.
2014-08-29 08:32:07 -07:00
Ben Ogle
4b4af946cf
Fix specs
2014-08-28 18:30:08 -07:00
Ben Ogle
5163d0f810
Fix dupe functions
2014-08-28 18:19:12 -07:00
Ben Ogle
08388d87c0
Remove getSelectionAtIndex
...
We’re going to eventually get rid of the clone in
getSelections / getCursors freeze those properties
and return them directly. Then they can operate
on the list garbage free.
2014-08-28 18:16:33 -07:00
Ben Ogle
9c53d6f014
Deprecate getCursor()
2014-08-28 18:10:18 -07:00
Ben Ogle
2fced0c1bc
Deprecate getSelection
2014-08-28 17:51:16 -07:00
Ben Ogle
271af5dd99
Add Editor::setSelectedScreenRanges()
2014-08-28 17:28:24 -07:00
Ben Ogle
c6a76e6c62
De public a non-used method
2014-08-28 16:59:10 -07:00
Ben Ogle
535724fa84
Nothing uses this function, not internal nor packages.
2014-08-28 16:58:59 -07:00
Ben Ogle
14dcf50683
De-public a couple unused methods
2014-08-28 16:53:44 -07:00
Ben Ogle
882261e782
Break into Essential and extended
2014-08-28 16:53:21 -07:00
Ben Ogle
713d82a895
Reorder selections section
2014-08-28 16:51:31 -07:00
Ben Ogle
2551313b58
Deprecate methods on cursor
2014-08-28 16:31:10 -07:00
Ben Ogle
7ca5ece68a
Add methods to be symmetrical with selections
...
* getCursorsOrderedByBufferPosition
* getCursorBufferPositions
* getCursorScreenPositions
2014-08-28 16:06:44 -07:00
Ben Ogle
e74244fc25
Move less used function down in the order
2014-08-28 15:25:35 -07:00
Ben Ogle
65ba95a449
Add missing docs
2014-08-28 15:25:23 -07:00
Ben Ogle
370ad23f7c
Remove Cursor from ::moveCursor* methods
2014-08-28 15:25:12 -07:00
Ben Ogle
01b48d2a0a
Move adding cursor functions under more heavily used functions
2014-08-28 14:44:23 -07:00
Ben Ogle
45a9bd21fc
Deprecate getCursorScreenRow
...
It’s out of place, and unnecessary.
2014-08-28 14:43:36 -07:00
Ben Ogle
db83375293
Buffer before screen, get before set
2014-08-28 14:38:58 -07:00