Max Brunsfeld
d97c81bf6a
Make undo grouping interval configurable
2014-11-06 09:25:10 -08:00
Max Brunsfeld
d85c07e7e2
Don't wrap undo/redo calls in transactions
2014-11-05 16:59:06 -08:00
Max Brunsfeld
4077e791c9
Update signature of calls to TextBuffer::transact
2014-11-05 15:58:13 -08:00
Max Brunsfeld
e7eef89fa5
Remove TextEditor::withGroupingInterval
...
Just use ::transact
2014-11-05 15:58:13 -08:00
Max Brunsfeld
5437236304
Use undo grouping in editor command listeners
2014-11-05 15:58:13 -08:00
Max Brunsfeld
b7aa421e4e
Add TextEditor::withGroupingInterval
...
This method temporarily instructs the editor to apply undo grouping with
a given interval. This way, undo grouping can be made optional without
adding optional arguments to every buffer manipulation method.
2014-11-05 15:58:12 -08:00
Ben Ogle
9458db0c1f
Fix issue removing panels
v0.142.0
2014-11-05 15:37:47 -08:00
Ben Ogle
80c15513bb
Fix typos
2014-11-05 15:36:39 -08:00
Ben Ogle
951289f67f
Upgrade metrics for cohorts, commands, and exceptions
2014-11-05 15:05:31 -08:00
Kevin Sawicki
1e7ba12e60
⬆️ markdown-preview@0.109
2014-11-05 14:44:22 -08:00
Kevin Sawicki
9a423359c4
⬆️ markdown-preview@0.108
2014-11-05 14:40:50 -08:00
Kevin Sawicki
bb56c6badc
⬆️ language-python@0.22
2014-11-05 12:49:21 -08:00
Nathan Sobo
ae461b21a4
⬆️ find-and-replace for shadow DOM support
...
@benogle heads-up. Not sure if you didn’t want to update this yet but
I’m assuming it’s fine.
2014-11-05 11:26:56 -07:00
Nathan Sobo
670b44f250
Only set both height and width of editor when shadow DOM is used
...
These work inside a shadow root, but break the flexbox behavior when
the shadow DOM is disabled.
2014-11-05 11:21:29 -07:00
Kevin Sawicki
d330a8fac5
Merge pull request #4006 from atom/atom-shell-v0.19.0
...
Upgrade to atom-shell@0.19 .0
2014-11-05 09:45:31 -08:00
Kevin Sawicki
8bd2650d01
Merge pull request #4064 from atom/pass-path-env
...
Pass $PATH by command line
2014-11-05 09:40:04 -08:00
Ben Ogle
560d9387dc
Upgrade text-buffer to remove deprecations
2014-11-05 09:23:44 -08:00
Nathan Sobo
39cc463e24
Add .editor and .editor-colors classes regardless of shadow DOM setting
2014-11-05 09:57:13 -07:00
Nathan Sobo
2c83c3fe17
Merge pull request #3943 from atom/ns-text-editor-shadow-dom
...
Render text editor contents inside shadow DOM
2014-11-05 09:42:07 -07:00
Nathan Sobo
07505ea82a
Support any instance of jQuery in view registry logic
2014-11-05 09:33:31 -07:00
Nathan Sobo
47d3b3edf3
Add jQueryTrigger: true to command detail in $.fn.trigger patch
...
Attention: @benogle
References: atom/metrics#32
2014-11-05 09:28:35 -07:00
Ben Ogle
3d394e854e
Add 'application:open-dev' binding for windows.
2014-11-05 08:19:24 -08:00
Ben Ogle
a37b8ff632
Merge pull request #4068 from jpelgrom/master
...
Keyboard shortcut to open folder on Windows
2014-11-05 08:18:00 -08:00
jpelgrom
f8a05dd8e0
Keyboard shortcut to open folder on Windows
...
Based on Linux behaviour
2014-11-05 16:05:55 +01:00
Cheng Zhao
6a58f6054a
Pass $PATH by command line
2014-11-05 12:11:42 +08:00
Ben Ogle
ddd4a9a968
Merge pull request #4063 from atom/bo-unify-panel-styling
...
Unify panel styling
2014-11-04 17:12:49 -08:00
Ben Ogle
743c50014f
Do not import overlay
2014-11-04 16:59:02 -08:00
Ben Ogle
af761fb004
All panel styling into panels.less
2014-11-04 15:39:25 -08:00
Nathan Sobo
badf1725fa
Handle focus on hidden input when shadow DOM is disabled
...
Signed-off-by: Max Brunsfeld <maxbrunsfeld@gmail.com >
2014-11-04 16:37:29 -07:00
Nathan Sobo
2b2149bca1
Add config schema for editor.useShadowDOM
...
Signed-off-by: Max Brunsfeld <maxbrunsfeld@gmail.com >
2014-11-04 16:37:28 -07:00
Nathan Sobo
e1d6d55311
Enable editor.useShadowDOM in all specs
2014-11-04 16:37:28 -07:00
Nathan Sobo
670a710753
Test editor focus/blur handling with shadow DOM enabled/disabled
...
Signed-off-by: Max Brunsfeld <maxbrunsfeld@gmail.com >
2014-11-04 16:37:28 -07:00
Nathan Sobo
dd1e5338c6
Focus the root TextEditorElement in spec instead of component node
...
Signed-off-by: Max Brunsfeld <maxbrunsfeld@gmail.com >
2014-11-04 16:37:28 -07:00
Nathan Sobo
100af7d27d
Fix corner cases related to lifecycle state of EditorComponent on events
...
Signed-off-by: Max Brunsfeld <maxbrunsfeld@gmail.com >
2014-11-04 16:37:28 -07:00
Nathan Sobo
9b70cf2044
Make blur event on text editor element work with shadow DOM disabled
...
When the shadow DOM is enabled, this happens organically because the
focus is abstracted across the shadow boundary. Without that abstraction
boundary, we need to pretend that a blur of the hidden input is actually
a blur of the entire editor.
Signed-off-by: Max Brunsfeld <maxbrunsfeld@gmail.com >
2014-11-04 16:37:28 -07:00
Nathan Sobo
7fe9c14772
💄
2014-11-04 16:37:28 -07:00
Nathan Sobo
9690e44ffe
Correctly handle focus when shadow DOM is disabled
...
Signed-off-by: Max Brunsfeld <maxbrunsfeld@gmail.com >
2014-11-04 16:37:27 -07:00
Nathan Sobo
0e57ede712
Only create a shadow root if editor.useShadowDOM config setting is true
...
Signed-off-by: Max Brunsfeld <maxbrunsfeld@gmail.com >
2014-11-04 16:37:27 -07:00
Nathan Sobo
dd7335c30b
Simplify focus/blur handling
...
Signed-off-by: Max Brunsfeld <maxbrunsfeld@gmail.com >
2014-11-04 16:37:27 -07:00
Ben Ogle
4537e9bd1a
Fix specs
2014-11-04 16:37:27 -07:00
Nathan Sobo
0488fc21da
⬆️ autocomplete for shadow DOM fix with auto-selecting 1 option
2014-11-04 16:37:27 -07:00
Nathan Sobo
160bb29034
Null-guard component in blur handler
2014-11-04 16:37:27 -07:00
Nathan Sobo
497b4a4e24
Toggle quotes back
2014-11-04 16:37:27 -07:00
Nathan Sobo
dd4e7d6921
Wait for promise resolution on all calls to activatePackage
...
This avoids a race condition where stylesheets would be added after all
packages were deactivated and leak into the next spec.
2014-11-04 16:37:26 -07:00
Nathan Sobo
d060ecdc24
Assign package stylesheet context based on double-extension in file name
...
If stylesheet files are named with 2 extensions, the first extension is
used as the context argument when the package’s stylesheets are loaded.
This allows people to target the text editor by naming their stylesheet
`index.atom-text-editor.less`.
2014-11-04 16:37:26 -07:00
Nathan Sobo
84d1101903
Upgrade package-generator to fix specs with shadow DOM
2014-11-04 16:37:26 -07:00
Nathan Sobo
6f3c53a17a
Only cancel focus events if the editor is or contains the related target
2014-11-04 16:37:26 -07:00
Nathan Sobo
dd17e8f018
Replace focusout event handlers on hiddenInput shim with blur handlers
...
The focusout event doesn’t seem to work for elements in the shadow DOM.
Other people seem to share this experience:
https://code.google.com/p/chromium/issues/detail?id=378163#c7
2014-11-04 16:37:26 -07:00
Nathan Sobo
cf3f1aa2eb
Don’t handle text editor focus when it already has focus
2014-11-04 16:37:26 -07:00
Nathan Sobo
adaf1829da
Determine focus using document.activeElement instead of component state
2014-11-04 16:37:26 -07:00