Ben Ogle
9458db0c1f
Fix issue removing panels
2014-11-05 15:37:47 -08: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
Ben Ogle
4537e9bd1a
Fix specs
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
bda1429293
Trigger ‘blur’ on select list editor instead of ‘focusut’ on its input
2014-11-04 16:37:25 -07:00
Nathan Sobo
58744f6b7b
Account for shadow DOM when asserting on focus
2014-11-04 16:37:24 -07:00
Nathan Sobo
7badd9ba25
Don’t rely on :focus selector for toHaveFocus matcher
...
:focus doesn’t work properly when focus is inside the shadow DOM of
an element, but document.activeElement does.
2014-11-04 16:37:23 -07:00
Nathan Sobo
cdb62812d2
Don’t use syntax themes in spec because they are inserted in shadow DOM
2014-11-04 16:37:23 -07:00
Nathan Sobo
2d3d64f399
Call reloadStylesheets instead of reloadStylesheet in spec
2014-11-04 16:37:23 -07:00
Nathan Sobo
fa733c85ad
Fix setEditorHeightInLines shim now that we’ve dropped .react class
2014-11-04 16:37:23 -07:00
Nathan Sobo
158bbef38f
Account for shadow dom when asserting active element
2014-11-04 16:37:22 -07:00
Nathan Sobo
b2bc09c13d
Apply stylesheets with atom-editor-context in text editor specs
2014-11-04 16:37:22 -07:00
Nathan Sobo
4e8e5a84c4
Support context attribute in <atom-styles>
2014-11-04 16:37:20 -07:00
Ben Ogle
5bd028b24e
Enforce modal
2014-11-04 14:58:00 -08:00
Ben Ogle
8485831f40
Add the location attr. Need it for styling!
2014-11-04 14:22:15 -08:00
Ben Ogle
da30b66ffa
Fix tests
2014-11-04 14:10:58 -08:00
Ben Ogle
9b1d5e1864
Add addModalPanel to atom.workspace.
2014-11-04 13:48:48 -08:00
Ben Ogle
b1a0258ad4
Clean up spec name
2014-10-31 11:39:56 -07:00
Ben Ogle
54b8aa4a02
Add spec for skip
2014-10-31 11:38:24 -07:00
Kevin Sawicki
19b0f760a1
Only re-tokenize lines when tab length changes
...
Closes #3929
2014-10-30 16:20:05 -07:00
Ben Ogle
ee4116536d
Move the ViewRegistry to atom.views
2014-10-30 13:42:27 -07:00
Kevin Sawicki
6e827434fd
Log a warning when a enabled theme isn't installed
2014-10-30 10:04:38 -07:00
Lee Dohm
d20e91897a
Load the default themes when configured themes don't exist
2014-10-29 19:42:42 -07:00
Kevin Sawicki
d205c4d664
Add data attribute for encoding
...
Mirrors the grammar data attribute
2014-10-29 16:03:10 -07:00
Kevin Sawicki
ce8143f8e6
Add TextEditor::onDidChangeEncoding spec
2014-10-29 11:33:01 -07:00
Nathan Sobo
4d796f614c
Update Tokenized/DisplayBuffer prior to TextBuffer::onDidChange handlers
...
Fixes #3789
2014-10-27 13:56:23 -06:00
Kevin Sawicki
b9239ffc57
Add spec for cursor position after pair char
2014-10-24 13:31:43 -07:00
Kevin Sawicki
9b0f622ffb
📝 Mention combined characters in spec description
2014-10-24 13:31:42 -07:00
Kevin Sawicki
b6cc7273a1
Add combined characters to spec
2014-10-24 13:31:42 -07:00
Ben Ogle
d0d6af7e55
Specs for priority
2014-10-24 13:07:14 -07:00
Ben Ogle
c931071c91
Merge pull request #3910 from atom/bo-descriptor-object
...
Add a ScopeDescriptor object
2014-10-21 13:27:17 -07:00
Ben Ogle
263b792eee
Merge pull request #3907 from atom/bo-scoped-schema
...
Add support for scoped defaults in config schemas
2014-10-21 13:12:18 -07:00
Ben Ogle
16ad957609
scopeDescriptor -> scopes
...
Now that we have a real ScopeDescriptor object,
these should change back!
2014-10-21 11:38:43 -07:00
Ben Ogle
2b148b7720
Accept escaped dots in config settings keys
...
Fixes #3898
2014-10-20 16:58:57 -07:00
Ben Ogle
7ffe5d1385
Add support for scoped defaults in config schemas
2014-10-20 14:52:12 -07:00
Kevin Sawicki
c2ef68a435
Go back to using a concurrency of 2
2014-10-20 14:21:20 -07:00
Kevin Sawicki
aa117774b3
Experiment with longer timeout on Mac CI
2014-10-20 13:52:39 -07:00
Ben Ogle
b425df1d58
Merge pull request #3837 from atom/bo-panel-api
...
Add panel API
2014-10-20 13:25:48 -07:00
Ben Ogle
055c632ee9
Call save() in restoreDefault() for scopedSettings
2014-10-20 12:29:46 -07:00
Ben Ogle
2ac1862e5f
Remove toHide matcher.
2014-10-20 12:12:21 -07:00
Ben Ogle
5a82afd333
💄
2014-10-20 12:03:48 -07:00
Nathan Sobo
d1f9133ef4
Merge pull request #3830 from atom/ns-extract-style-manager
...
Extract style manager from theme manager
2014-10-17 18:11:16 -06:00
Ben Ogle
155d144788
Fix spec
2014-10-17 15:23:06 -07:00
Kevin Sawicki
d6feb686c1
Mention single click
2014-10-17 14:00:26 -07:00
Kevin Sawicki
5069a5b48b
Add spec for clicking past last line
2014-10-17 14:00:25 -07:00
Ben Ogle
de78e53b35
Add priority system to the panels
2014-10-17 13:44:40 -07:00
Ben Ogle
f0fd7c2682
Add hide/show ability for panels
2014-10-16 17:32:24 -07:00