Ben Ogle
0608f94387
Merge pull request #8356 from atom/bo-tab-type
...
Support `editor.tabType`
2015-08-13 11:13:13 -07:00
Max Brunsfeld
c6d8bce137
Merge remote-tracking branch 'origin/master' into mb-custom-extension-grammar-map
2015-08-13 09:59:56 -07:00
Kevin Sawicki
5da44711dc
Add initial spec for pane resize commands
2015-08-13 06:54:51 -07:00
Max Brunsfeld
2493da0a84
Rename fileTypesByScope -> customFileTypes
2015-08-12 17:55:19 -07:00
Ben Ogle
51538b0c67
Don’t need this coffeeEditor
2015-08-12 17:48:52 -07:00
Ben Ogle
1b727c1862
Handle a grammar change for @softTabs
2015-08-12 17:32:05 -07:00
Max Brunsfeld
30d8216bf6
Merge branch 'master' into mb-custom-extension-grammar-map
...
Conflicts:
package.json
2015-08-12 17:31:15 -07:00
Ben Ogle
b5d253b9c5
Add a spec for the scoped setting
2015-08-12 17:23:15 -07:00
Ben Ogle
1192008479
Update the tab type when the setting changes
2015-08-12 17:21:53 -07:00
Ben Ogle
b3ea638de3
Add a bunch of specs for tabType setting
2015-08-12 17:10:43 -07:00
Max Brunsfeld
5f620fb739
Config::getSchema - use null to represent inaccessible key path
2015-08-12 16:52:25 -07:00
Ben Ogle
71f6cd0a0f
Get some base tests setup
2015-08-12 16:43:53 -07:00
Ben Ogle
d9d442b723
Consolidate tab specs
2015-08-12 16:30:14 -07:00
Nathan Sobo
fbea2d7954
Autoscroll correctly when dragging gutter selections
...
* Explicitly assign the orientation of the selection when it crosses
the initially clicked row.
* Autoscroll to the cursor, not the entire selection.
2015-08-12 13:13:15 -06:00
Max Brunsfeld
29f47f7fcb
Merge pull request #8173 from atom/mb-rename-disabled-keymaps-config-key
...
Rename 'disabledKeymaps' -> 'packagesWithKeymapsDisabled'
2015-08-12 10:52:53 -07:00
Nathan Sobo
1223d7a154
Process closing scopes at wrap boundaries
2015-08-11 13:13:30 -06:00
Antonio Scandurra
85a982f42b
💚 Clear pending frames on folding specs
2015-08-11 12:00:59 +02:00
Nathan Sobo
eb4944b07d
Make bufferRangeForScopeAtPosition work with last column of scope
2015-08-10 14:21:23 -06:00
Nathan Sobo
f9a576b0ce
Allow Infinity for initialLine/Column; move specs to workspace
...
The initialLine and initialColumn behavior belongs on workspace.
2015-08-10 11:32:38 -06:00
Nathan Sobo
69da157ecb
Add specs for initialLine and initialColumn, simplify implementation
2015-08-10 11:27:15 -06:00
Nathan Sobo
db72ce8362
Defer merging likewise gutter selections until mouseup
2015-08-04 11:29:08 -06:00
Luke Pommersheim
2655513673
CR: copyOnlySelectedText only works on selected text, no matter of cursor position
2015-08-04 10:30:59 +02:00
Luke Pommersheim
146363bba6
💚 tests for copying only selected text unless cursor is at the beginning of the line
2015-08-04 10:30:59 +02:00
Nathan Sobo
52e640156c
Defer selection merge until dragging completes
2015-08-03 21:43:43 -06:00
Max Brunsfeld
b682658427
Rename 'disabledKeymaps' -> 'packagesWithKeymapsDisabled'
2015-07-31 10:37:56 -07:00
Max Brunsfeld
fbd684926e
Config - Support additionalProperties field of object schemas
2015-07-30 18:28:41 -07:00
Max Brunsfeld
84f72c880a
Config - don't allow setting key-paths inside of strings, arrays, etc
2015-07-30 18:28:06 -07:00
Max Brunsfeld
aa8fb391aa
Handle ties between custom and built-in grammar file types
2015-07-30 17:39:55 -07:00
Max Brunsfeld
1ee382a4cb
Add GrammarRegistry tests removed from first-mate
2015-07-30 17:39:55 -07:00
Max Brunsfeld
989bb86199
Start work on custom scope -> filetypes configuration
2015-07-30 17:39:55 -07:00
Max Brunsfeld
5d15a3784f
Merge pull request #8130 from tmunro/master
...
Add support for activating and deactivating package-specific keymaps
2015-07-29 20:18:13 -07:00
Nathan Sobo
ef9e466540
Merge pull request #8141 from atom/ns-fix-selections-stuck-in-reverse
...
Fix bug where word- and line-wise selections got stuck in reversed state
2015-07-29 13:29:39 -06:00
Ben Ogle
f798fe2600
Merge pull request #8126 from atom/bo-fix-process-leak
...
Fix process leak
2015-07-29 11:59:56 -07:00
Tom Munro
b57d2e1dd0
Move disabledKeymaps
observer into package manager
2015-07-29 11:59:32 -07:00
Ben Ogle
591db01067
Spy on Task::terminate instead of passing an obj through
2015-07-29 11:48:49 -07:00
Nathan Sobo
12dc045329
Fix bug where word- and line-wise selections got stuck in reversed state
2015-07-29 11:49:14 -06:00
Tom Munro
90ec8df3e6
Change spec to test disabling and enabling keymaps after activation
2015-07-29 09:28:37 -07:00
Tom Munro
b6b81fc2ed
Remove extra newlines
2015-07-29 09:08:04 -07:00
Tom Munro
b9c12857fb
Add support for activating and deactivating package-specific keymaps
2015-07-28 22:27:10 -07:00
Ben Ogle
f77fe8acab
🎨 Remove log line
2015-07-28 17:37:50 -07:00
Ben Ogle
16707f28f1
Add DefaultDirectorySearcher spec
2015-07-28 17:34:29 -07:00
Nathan Sobo
d1dec4e0cf
Don’t autoscroll to selection when double- or triple-click dragging
2015-07-28 16:16:34 -06:00
Antonio Scandurra
d46fea9d10
Emit did-insert-text
on pasteText()
2015-07-28 10:38:11 +02:00
Antonio Scandurra
b00c148de8
Merge pull request #8098 from atom/as-tiles-z-index
...
Render tiles upper in the stack in front of the ones below
2015-07-28 10:13:20 +02:00
Kevin Sawicki
6e59763b7a
Spy on theme activation to prevent watcher leak
...
Closes #8012
2015-07-27 15:37:01 -07:00
Ben Ogle
02ad3fe298
Merge pull request #8094 from smashwilson/overlay-class
...
Specify class attributes directly for overlay nodes
2015-07-27 15:36:42 -07:00
Nathan Sobo
f659bc20a2
Fix occasional spec flakiness on travis
2015-07-27 15:14:07 -06:00
Antonio Scandurra
e374425d7a
Render tiles upper in the stack in front of the ones below
2015-07-27 20:16:36 +02:00
Nathan Sobo
2d25301ea0
Destroy folds when DisplayBuffer is destroyed
...
Fixes #4562
2015-07-27 12:04:46 -06:00
Max Brunsfeld
886c51aed1
Fix flaky project spec caused by async service hub
2015-07-27 10:16:11 -07:00
Max Brunsfeld
48e37730e5
Fix use of deprecated atom-keymap method
2015-07-27 09:59:14 -07:00
Ash Wilson
0b1a303d5b
✅ Spec for overlay element class.
2015-07-27 10:52:45 -04:00
George Ogata
45694dcda0
Fire event before a pane is destroyed.
2015-07-23 18:47:38 -04:00
Max Brunsfeld
a28882fff9
Merge pull request #8051 from atom/mb-upgrade-service-hub-again
...
Upgrade service hub again
2015-07-23 13:15:52 -07:00
Nathan Sobo
731d6a27f4
Merge pull request #8009 from atom/jl-ns-battery-life
...
Change Document Polling from Time Interval to Event
2015-07-23 13:06:02 -06:00
Max Brunsfeld
e5083b621f
Merge pull request #8048 from svanharmelen/b-fix-indentation
...
Fix indentation for languages without indent pattern
2015-07-23 12:00:28 -07:00
Max Brunsfeld
d9aa95fb11
Fix specs to deal w/ async ServiceHub::consume
2015-07-23 11:31:09 -07:00
Nathan Sobo
c18db48f54
Fix specs
2015-07-23 12:03:20 -06:00
Nathan Sobo
92f1a800e2
Unfocus spec
2015-07-23 12:03:11 -06:00
Sander van Harmelen
df1b193eba
Add a test for the indent fix
2015-07-23 19:23:03 +02:00
Nathan Sobo
2869d66de0
Trigger polling in spec via window resize instead of advancing clock
2015-07-23 10:51:11 -06:00
Jessica Lord
96874d68d8
Run polling functions when windows resizes
2015-07-23 10:51:11 -06:00
Jessica Lord
fb7304a3d7
Remove event listeners after each test
2015-07-23 10:51:10 -06:00
Jessica Lord
39749ac70a
Remove unused spy for intervals
2015-07-23 10:51:10 -06:00
Jessica Lord
2f11b86a34
Ensure document polling functions run when stylesheets change
2015-07-23 10:51:10 -06:00
Jessica Lord
3715e05bed
Change spec to test on DOM mutation rather than interval
2015-07-23 10:51:10 -06:00
Max Brunsfeld
a60f330628
Default maintainHistory marker option to false
2015-07-21 13:27:05 -07:00
Nathan Sobo
375211b278
Merge pull request #7859 from dsandstrom/update-subword-regex
...
Update subword regex
2015-07-17 14:11:41 -07:00
Max Brunsfeld
b24258056d
Merge pull request #7858 from svanharmelen/b-fix-indenting
...
Fix indentation when pasting lines
2015-07-17 09:46:47 -07:00
Darrell Sandstrom
ecf68903af
Add non-English characters to subword regex
...
Fixes #7656
2015-07-12 17:20:46 -07:00
Darrell Sandstrom
c02df26fa7
Add underscore to subword regex
...
Fixes #7658
2015-07-12 17:03:53 -07:00
Sander van Harmelen
e7de136a27
Small tweaks after review
2015-07-13 00:58:03 +02:00
Sander van Harmelen
195b84a34a
Fix indentation when pasting lines
...
The fix to ignore invisibles () introduces a new bug when pasting lines
from the clipboard (see screencast below).
As the commit takes the content of `@buffer.lineFromRow(bufferRow)` to
test against the `decreaseIndentRegex`, it will actually test the
content of the row the cursor is on instead of the content that is
being pasted. And this (of course) could cause unexpected indentations.
2015-07-12 23:57:13 +02:00
Joe Fitzgerald
b3b046aa66
Add activationHooks To package.json
...
- Trigger the `{grammar-package-name}:grammar-used` hook when grammar is set for tokenized-buffer
2015-07-09 02:33:17 -04:00
Max Brunsfeld
c60c00f626
Ignore NaN coordinates passed to workspace.open
2015-07-08 16:50:17 -07:00
Sander van Harmelen
eaf814e5be
Improve auto indenting by removing a hard coded restriction and adding a 3rd regexp
...
Currently there are only two regexps that can influence the indents.
Those are `increaseIndentPattern` (which tells Atom the indent of next
line should be increased) and `decreaseIndentPattern` (which tells Atom
the indent of the current line should be decreased).
But I found that a couple of languages would need a 3rd regexp in order
to support their use cases. This 3rd regexp should be a mixture of the
existing two so it tells Atom that the indent of the next line should
decrease.
I’ll add a screencast to show a use case for this 3rd regexp which I
would like to call `decreaseNextIndentPattern`.
2015-07-08 20:30:21 +02:00
Nathan Sobo
a094142a45
Merge pull request #7778 from atom/ns-mb-suppress-line-measurement-exceptions
...
Suppress line measurement exceptions and gather data to solve them
2015-07-08 12:43:55 -05:00
Nathan Sobo
54549f916a
Change assertion API to pass error to callback
...
Don’t assume anything about metadata. Just give assertion callers access
to the error object.
Signed-off-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
2015-07-07 19:29:23 -05:00
Kevin Sawicki
a6dfbb2804
Remove string detail check
...
This appears to be in use by other packages
Refs atom/notifications#50
2015-07-07 13:46:53 -07:00
Kevin Sawicki
93069fad75
Add stricter object checking
2015-07-07 13:46:53 -07:00
Kevin Sawicki
24a56e974b
Add specs for message, options, and detail
2015-07-07 13:46:52 -07:00
Kevin Sawicki
b371b2f0c9
Guard against missing stdout/stderr
2015-07-07 09:50:07 -07:00
Kevin Sawicki
f4284b91ea
Add failing spec for missing stdout/stderr
2015-07-07 09:50:07 -07:00
Max Brunsfeld
1761f19efb
Merge pull request #7748 from atom/mb-emit-will-insert-text-on-paste
...
Emit will-insert-text event when pasting
2015-07-07 09:14:07 -07:00
Antonio Scandurra
4e4b49eef8
🐛 updateContentDimensions
when model changes
2015-07-07 11:28:30 +02:00
Max Brunsfeld
8c3400c084
Emit will-insert-text event when pasting
2015-07-06 18:29:44 -07:00
Ben Ogle
5d42b27f5f
Merge pull request #7411 from deprint/multiline-mini-editor
...
Mini editor with TextEditor::setMini
2015-07-06 13:56:20 -07:00
Nathan Sobo
a3308ef04d
Clear notifications between specs
2015-07-01 16:35:59 -05:00
Nathan Sobo
550efc8397
Merge pull request #7633 from atom/ns-pane-items-must-be-objects
...
Throw an exception when adding a non-object pane item
2015-07-01 14:09:14 -05:00
Nathan Sobo
8348b2c039
Throw exception when adding a non-object pane item
2015-07-01 13:29:13 -05:00
Fabian Stiewitz
eca4ed170e
Add specs for TextEditor::setMini in TextEditorElement
2015-07-01 12:36:10 +02:00
Nathan Sobo
df6ef94b60
🎨 add spaces after commas
2015-06-30 23:03:55 -05:00
Nathan Sobo
e472830063
Merge remote-tracking branch 'origin/master' into dsandstrom-add-subword-cursors-4
2015-06-30 22:55:40 -05:00
Nathan Sobo
ba3ab41f1f
Eliminate hack to move cursor to beginning of buffer
...
Use the structure of the regex plus a fix to text-buffer instead.
2015-06-30 22:52:35 -05:00
Ben Ogle
4d77d4161d
Merge pull request #7395 from oggy/will-remove-item
...
Add Pane::onWillRemoveItem event.
2015-06-30 15:25:16 -07:00
Nathan Sobo
8b088926bb
Merge pull request #7602 from atom/ns-mixed-indent
...
Restore support for mixed tabs and spaces in line indentation
2015-06-30 15:54:47 -05:00
Nathan Sobo
eae9a45579
🎨 Clean up spec language
2015-06-30 15:54:15 -05:00
Nathan Sobo
83bddaf34e
Merge branch 'master' into add-subword-cursors-4
...
Conflicts:
spec/text-editor-spec.coffee
2015-06-30 15:43:33 -05:00
Nathan Sobo
82e25872b2
Handle indentation with mixed tabs and spaces
2015-06-30 15:31:11 -05:00
Nathan Sobo
1d8035c3cc
Back out changes to onDidThrowError API
2015-06-30 15:30:58 -05:00