Commit Graph

15066 Commits

Author SHA1 Message Date
Max Brunsfeld
34c8e25eff Avoid temporarily clearing DisplayLayer params in TextEditor.copy 2016-12-14 20:09:46 -08:00
Max Brunsfeld
39302aed35 Remove unnecessary comparisons to current params in TextEditor.update
Now the DisplayLayer internally avoids unnecessary work when reset() is
called with its existing parameters.
2016-12-14 20:09:46 -08:00
Max Brunsfeld
d7b86d9187 Merge remote-tracking branch 'origin/master' into mb-ns-integrate-new-display-layer 2016-12-14 12:16:50 -08:00
Max Brunsfeld
e339aab590 Clip screen range end backward when dragging gutter
Signed-off-by: Nathan Sobo <nathan@github.com>
2016-12-13 17:27:31 -08:00
Nathan Sobo
5e8c3c7668 Constrain the followingRow to the line count in moveLineDown 2016-12-13 00:03:13 -07:00
Nathan Sobo
8a8819beb4 Use new boundary methods for moving lines up/down
Signed-off-by: Max Brunsfeld <maxbrunsfeld@github.com>
2016-12-12 17:13:13 -07:00
Ian Olsen
f9c96818e6 Merge pull request #13272 from atom/fb-vjeux-fix-gutter-prepend
Fix prepending multiple gutters at once
2016-12-12 15:55:46 -08:00
Damien Guard
b83bb95b56 Merge pull request #13426 from atom/dg-portable-enhancement
Portable mode enhancements
2016-12-12 15:55:17 -08:00
Nathan Sobo
953e8eec0e Merge branch 'master' into MikeInnes-overlay-scroll 2016-12-12 08:38:38 -07:00
Damien Guard
5a446ff467 Clean up portable mode, try local .atom before ATOM_HOME 2016-12-11 15:59:24 -08:00
Damien Guard
9efae86238 Merge branch 'as-dg-remove-spacepen-from-reopen-project-list-view' 2016-12-09 16:44:35 -08:00
portal
5301c55669 Add desktop.ini to ignored names 2016-12-09 19:00:11 +02:00
Max Brunsfeld
6f4a506517 Remove InputComponent.getDomNode method
Access the dom node directly in TextEditorElement instead

Signed-off-by: Damien Guard <damieng@github.com>
2016-12-08 16:12:26 -08:00
Max Brunsfeld
efd20774de Make each atom-text-editor keep a consistent hidden input node for its lifetime
Signed-off-by: Damien Guard <damieng@github.com>
2016-12-08 16:05:45 -08:00
Joe Fitzgerald
9be8373930 Remove console warning
- Per @nathansobo, we’re not sure whether it’s even helpful to know this
2016-12-09 10:03:42 +11:00
Antonio Scandurra
e777c0de8e Fix lint errors 2016-12-07 11:29:30 +01:00
Max Brunsfeld
3cb64a97bd Enable soft wraps and folds in large file mode 2016-12-06 17:34:00 -08:00
Damien Guard
60fc36a969 Improve array path matching in history 2016-12-06 14:29:14 -08:00
Damien Guard
9aa53f32f6 Do not add 'empty' projects to history/menu 2016-12-06 14:06:09 -08:00
Damien Guard
66d7503e69 Adjust jumplist projects to match File Explorer 2016-12-06 12:43:40 -08:00
Lee Dohm
ae359a74a0 Merge pull request #13152 from atom/open-empty-editor-description
Add and improve core.*OnStart setting descriptions
2016-12-06 11:59:19 -08:00
Antonio Scandurra
8e6cef458c Revert "Flush DOM before displaying context menu" 2016-12-06 17:29:49 +01:00
Antonio Scandurra
847ca8f71b Merge pull request #13266 from atom/fb-vjeux-flush-context-menu
Flush DOM before displaying context menu
2016-12-06 14:04:30 +01:00
Antonio Scandurra
eb0b48ffe0 🎨 2016-12-06 12:10:58 +01:00
Antonio Scandurra
7f4b43085b Merge pull request #13372 from atom/as-fix-package-activation-hook
Activate packages immediately if hook had already been triggered
2016-12-05 15:53:53 +01:00
Damien Guard
01de6855f1 Properly escape &^| chars in commands on Windows. Fixes #13178 2016-12-02 13:20:07 -08:00
Antonio Scandurra
8efbc513e4 Replace space-pen with atom-select-list in ReopenProjectListView
Signed-off-by: Damien Guard <damieng@github.com>
2016-12-02 20:09:20 +01:00
Antonio Scandurra
756e6e4641 Activate packages immediately if hook had already been triggered 2016-12-02 12:56:51 +01:00
Nathan Sobo
20088cff75 Use position translation to detect soft wraps when rendering line nums
Signed-off-by: Antonio Scandurra <as-cii@github.com>
2016-12-01 14:41:05 -07:00
Nathan Sobo
4716ad8ef3 Merge pull request #13358 from atom/fb-mdt-initialize-hook
Add initialize() hook to packages
2016-12-01 01:53:43 -07:00
Matthew Dapena-Tretter
25518b9c8e Add initialize() hook to packages 2016-11-30 14:27:29 -08:00
Damien Guard
701b08ca90 Fix package-transpilation-registry tests on Win32 2016-11-29 16:55:14 -08:00
Damien Guard
bd2f6d641a Fix id/source-path for themes on Win32 2016-11-29 16:55:14 -08:00
Damien Guard
20b29fb0f0 Support node's option.shell entirely, buffered-process tests now pass on Windows 2016-11-29 16:55:14 -08:00
Max Brunsfeld
ef99fbcf0b Merge pull request #13350 from atom/mb-fix-highlights-on-horizontal-scroll
Fix highlight movement when horizontally scrolling
2016-11-29 09:30:08 -08:00
Christopher Chedeau
cd781b9f9d Flush DOM before displaying context menu
Released under CC0
2016-11-28 19:03:32 -08:00
Max Brunsfeld
0352820d8c Fix error in highlight region width calculation 2016-11-28 17:32:03 -08:00
Nathan Sobo
a8930dfeba Document avoidOverflow option 2016-11-28 15:08:34 -07:00
Nathan Sobo
f4c45c1e39 Rename stable: true to avoidOverlay: false and fix tests
As part of the test fixes, I’m honoring the `autoscroll: false` option
in `insertText` and `insertNewline` to avoid inadvertently scrolling the
editor during tests when the editor is modified.
2016-11-28 12:45:05 -07:00
Mike J Innes
20545ad41d Update text-editor-presenter.coffee 2016-11-28 11:08:39 +00:00
Mike J Innes
e5ab835357 add stable option 2016-11-28 11:08:38 +00:00
Antonio Scandurra
c673362676 Merge pull request #13300 from atom/as-select-list-view
Include relatedTarget when dispatching blur events from editor elements
2016-11-28 09:44:28 +01:00
Damien Guard
f198a0fd71 Add support for cp850 Fixes #13342 2016-11-27 19:25:31 -08:00
Damien Guard
46b90d77e1 Rename windows866 to cp866, fixes atom/encoding-selector#36 2016-11-27 18:19:45 -08:00
Joe Fitzgerald
b2ff95caf4 Run shell as detached process
- Implement timeout
- Clean up running process if window is reloaded or Atom exits
2016-11-24 10:39:16 -07:00
Lukas Geiger
e64f50725b 👕 Fix lint error 2016-11-24 02:47:03 +01:00
Lukas Geiger
1c9336de21 Fix #12528 2016-11-24 01:45:33 +01:00
Antonio Scandurra
f160ccecd1 Include relatedTarget when dispatching blur events from TextEditorElement 2016-11-23 18:15:18 +01:00
Damien Guard
5d313cead7 Enable recent files, projects, new window task on Windows taskbar 2016-11-22 22:40:52 -08:00
Akonwi Ngoh
2a75e7d928 📝 Update documentation for ::getConfigValue
Adds the `key` argument to the function documentation
2016-11-21 11:57:35 -05:00