Commit Graph

16408 Commits

Author SHA1 Message Date
Max Brunsfeld
bc774773f7 Convert AtomEnvironment to JS 2017-11-08 16:44:46 -08:00
Nathan Sobo
6227ecebed Merge pull request #16092 from atom/autoscroll-after-fold-or-unfold
Autoscroll to cursor position after folding or unfolding
2017-11-07 11:33:22 -07:00
Jason Rudolph
311055c575 Merge pull request #16091 from atom/decaf-text-utils
 Decaffeinate text-utils
2017-11-07 08:12:59 -05:00
Max Brunsfeld
85f8b13a62 🎨 clean up git-repository.js 2017-11-06 09:45:43 -08:00
Nathan Sobo
a1e8d25e55 Autoscroll to cursor position after folding or unfolding
There were several different fold/unfold code paths, so I decided to
weave simple autoscroll assertions into the existing tests.
2017-11-03 09:57:29 -06:00
Jason Rudolph
208e3293f3 Decaffeinate src/text-utils.coffee 2017-11-03 08:14:24 -04:00
Jason Rudolph
1ee1c6c30e Decaffeinate src/token-iterator.coffee 2017-11-03 07:49:32 -04:00
Michelle Tilley
a3bb0bbb44 Merge pull request #15935 from atom/mkt-core-uri-handlers
Add core URI handlers
2017-11-02 18:40:00 -07:00
Ash Wilson
809a2d6348 Merge pull request #16080 from atom/fb-hw-directory-watcher
Allow directory providers to implement a custom onDidChangeFiles
2017-11-02 18:30:59 -07:00
Michelle Tilley
fba5fbc42d Merge remote-tracking branch 'origin/master' into mkt-core-uri-handlers 2017-11-02 16:30:29 -07:00
Nathan Sobo
3a758eeb8d Merge pull request #16083 from atom/resize-overlay-bug
Judge resize of overlay by contentRect changing
2017-11-02 16:33:09 -06:00
Nathan Sobo
667634191e Document hiddenInCommandPalette option in atom.commands.add 2017-11-02 16:15:45 -06:00
Justin Ratner
7639afe684 Judge resize of overlay by contentRect changing 2017-11-02 15:13:49 -06:00
Nathan Sobo
d0587a0b60 Merge pull request #16075 from atom/fix-select-word
Fix select-word command between word and non-word chararacters
2017-11-02 14:41:39 -06:00
hansonw
303cf30b51 Allow directory providers to implement onDidChangeFiles for custom pathwatchers 2017-11-02 11:43:33 -07:00
Michelle Tilley
cbf2d24d9e ⌨️ fix typo 2017-11-02 11:31:06 -07:00
Max Brunsfeld
3b6f98b446 Fix lint errors 2017-11-02 09:48:00 -07:00
Max Brunsfeld
4ce351d0f3 Convert Selection to JS 2017-11-02 09:22:58 -07:00
Nathan Sobo
1e9753d8a5 Fix select-word command between word and non-word chararacters
In #15776, we accidentally stopped passing an option to the wordRegExp
method that caused us to prefer word characters when selecting words at
a boundary between word and non-word characters.
2017-11-02 10:22:22 -06:00
Max Brunsfeld
6277459691 Merge pull request #16066 from atom/mb-decaffeinate-text-editor
Convert TextEditor class to JS
2017-11-01 22:25:44 -07:00
Max Brunsfeld
96e6b3a2ce Fix error in .getLongTitle when editor isn't in the workspace 2017-11-01 16:51:01 -07:00
Wliu
ff684925da Merge pull request #16067 from royGil/master
Remove duplicate variable declaration
2017-11-02 00:45:05 +01:00
Roy Giladi
887975c403 Remove duplicate variable declaration
Hey, just noticed that "Project" has already been declared on line 36
2017-11-02 01:33:39 +02:00
Nathan Sobo
b7cf68eeed Merge pull request #16065 from atom/fix-nsfw-require
Actually require @atom/nsfw dependency in path-watcher.js
2017-11-01 17:19:04 -06:00
Max Brunsfeld
af82dff75b Fix error in .getLongTitle when editors have no path 2017-11-01 16:15:32 -07:00
Max Brunsfeld
e9e23a2d09 Convert text-editor.coffee to JS
Signed-off-by: Nathan Sobo <nathan@github.com>
2017-11-01 15:19:52 -07:00
Michelle Tilley
2d20886cfa Rename AtomApplication#windows -> #windowStack
Update references across codebase
2017-11-01 14:36:23 -07:00
Nathan Sobo
61b4fc7d29 Actually require @atom/nsfw dependency in path-watcher.js 🤦 2017-11-01 15:32:05 -06:00
Nathan Sobo
f25570f135 Exclude Shift from keydown events that terminate selection drags 2017-11-01 14:00:43 -06:00
Nathan Sobo
11511f27d5 Don't terminate selection dragging when a modifier key is pressed
This preserves the ability to add selections via ctrl- or cmd-click.
2017-11-01 09:22:38 -06:00
Jason Rudolph
08baeae77b Merge pull request #16025 from atom/decaf-theme-manager
 Decaffeinate `src/theme-manager.coffee`
2017-11-01 08:50:51 -04:00
Nathan Sobo
252a98b231 Prevent the browser from auto-scrolling the scroll container on spacebar 2017-10-31 13:55:40 -06:00
Max Brunsfeld
99b64c45ef Merge pull request #16031 from atom/mb-one-display-layer-event-per-tx
⬆️ text-buffer for DisplayLayer.onDidChangeSync change
2017-10-31 10:09:38 -07:00
Jason Rudolph
16d418f946 Merge pull request #16018 from atom/decaf-theme-package
 Decaffeinate src/theme-package.coffee
2017-10-31 07:40:52 -04:00
Max Brunsfeld
482824047c ⬆️ text-buffer 2017-10-30 17:26:21 -07:00
Wliu
4eea63c50b 📝 2017-10-30 10:31:41 +01:00
Jason Rudolph
c06745f098 👕 Suppress "'snapshotAuxiliaryData' is not defined" error 2017-10-29 14:59:12 -04:00
Jason Rudolph
8ef74222c4 Decaffeinate src/theme-manager.coffee 2017-10-29 14:56:03 -04:00
Jason Rudolph
781b87144e Decaffeinate src/theme-package.coffee 2017-10-27 20:53:03 -04:00
Wliu
ab79a2d2b2 📝
[ci skip]
2017-10-28 00:53:01 +02:00
Wliu
e4044699dc 📝
[ci skip]
2017-10-27 21:49:27 +02:00
leroix
e4c4195cb8 Merge pull request #16008 from atom/fix-unoptimized-performDocumentUpdate
fix optimizer bailing on performDocumentUpdate
2017-10-26 16:23:05 -06:00
Justin Ratner
ada645aaa1 fix optimizer bailing on performDocumentUpdate 2017-10-26 15:31:43 -06:00
Nathan Sobo
6e55b29331 Merge pull request #15993 from atom/dont-destroy-contained-folds
Preserve folds that are fully contained by the selection when changing selection ranges
2017-10-25 16:36:37 -06:00
Nathan Sobo
5779111799 Use destroyFoldsContainingBufferPosition in more cases 2017-10-25 12:50:56 -06:00
Nathan Sobo
00242541ae Don't destroy folds that are completely contained within a selection 2017-10-25 12:25:04 -06:00
Jason Rudolph
23f2dc2fe4 Merge pull request #15972 from atom/decaf-tooltip-manager
 Decaffeinate `src/tooltip-manager.coffee`
2017-10-25 10:09:41 -04:00
Max Brunsfeld
9a95372613 Merge pull request #15977 from atom/mb-use-language-modes
Move `toggleLineComments` method from TokenizedBuffer to TextEditor
2017-10-24 16:03:21 -07:00
Jason Rudolph
622589f4f7 Merge pull request #15958 from atom/decaf-view-registry
 Decaffeinate `ViewRegistry`
2017-10-24 08:41:32 -04:00
Nathan Sobo
84f6f3e525 Merge pull request #15976 from atom/paste-without-reformatting
Add command to paste without reformatting
2017-10-23 20:21:38 -06:00