Ash Wilson
dbace171df
Add a kind property to Gutters
2018-07-24 09:37:23 -04:00
Max Brunsfeld
12a3972d90
🎨 Remove empty if branch
2018-07-20 14:18:55 -07:00
Jason Rudolph
457cde4525
Merge pull request #17720 from atom/jr-observe-repositories
...
Introduce `observeRepositories` and `onDidAddRepository`
2018-07-20 17:06:39 -04:00
Max Brunsfeld
3e6b95bfbb
Preload language-ruby's main module during snapshotting
2018-07-20 12:46:12 -07:00
Max Brunsfeld
67402229f4
Merge pull request #17717 from atom/mb-tree-sitter-fixes
...
Fix bugs found when adding ruby tree-sitter grammar
2018-07-20 11:59:50 -07:00
Max Brunsfeld
9555449489
🎨 Clean up TreeSitterLanguageMode
2018-07-20 11:10:12 -07:00
Jason Rudolph
55da0d8f5d
Introduce atom.project.observeRepositories(callback)
2018-07-20 14:05:56 -04:00
Jason Rudolph
806d9311bf
Introduce atom.project.onDidAddRepository(callback)
2018-07-20 14:04:22 -04:00
Max Brunsfeld
ac3bc51c2a
Improve criteria for when to fold partial vs entire buffer rows
2018-07-20 10:43:32 -07:00
Max Brunsfeld
137acb2f90
Fix highlighting when parent nodes extend beyond their first and last children
2018-07-20 10:16:19 -07:00
Max Brunsfeld
a283ca365f
Fix a ruby folding issue
2018-07-19 17:15:04 -07:00
Max Brunsfeld
e500f933e0
Merge pull request #17702 from atom/fb-rh-text-editor-component-updateClassList
...
Modify TextEditorComponent updateClassList to always add managed classes to element
2018-07-19 16:27:21 -07:00
Max Brunsfeld
c9a4bb4245
Fix logic for updating foldable range cache
2018-07-18 17:09:47 -07:00
Max Brunsfeld
8fa9a45a54
Incorporated injected languages in scope descriptors
2018-07-16 14:17:39 -07:00
Max Brunsfeld
ebd546f572
Fix handling of folds inside highlighted tokens
2018-07-16 14:17:39 -07:00
Ryan Holinshead
79de674508
Currently, the updateClassList function on the TextEditorComponent does not properly re-add its managed classes (editor, is-focused, mini) to the element when the element has been re-rendered with changed classes passed in. This fixes the issue by always adding the newClassList classes to the element and relying on the element.classList.add to determine if the classes already exist (and should be ignored)
...
Released under CC0
2018-07-13 16:45:04 -07:00
Max Brunsfeld
2a0e49d684
Silence complaint from standard 🙄
2018-07-13 16:31:30 -07:00
Max Brunsfeld
a2f831f533
Merge branch 'master' into tree-sitter-injections
2018-07-13 16:10:19 -07:00
Max Brunsfeld
7a196589f8
Return containing tags from seek in the correct order
2018-07-13 16:07:14 -07:00
Max Brunsfeld
bf69fd92bb
Move helper functions to the bottom of the file
2018-07-13 13:05:27 -07:00
Max Brunsfeld
be5020f05f
Rework handling of edited ranges
2018-07-13 13:03:56 -07:00
Max Brunsfeld
6fe6efc38d
Represent the full node range set as null
...
We already had conditional logic based on whether the node range set
was 'full'.
2018-07-13 11:28:32 -07:00
Max Brunsfeld
5b0ae5aa5c
Remove concurrency limit on parsing
2018-07-12 17:57:22 -07:00
David Wilson
972b11c5d0
Merge pull request #17538 from atom/dw-nightly-releases
...
Implement RFC 002: Atom Nightly Releases
2018-07-11 10:28:26 -07:00
Max Brunsfeld
6239720d45
👕 Fix lint errors
2018-07-10 13:17:47 -07:00
Lee Dohm
3938846f5e
Merge pull request #17569 from fedelibre/doc-open-position
...
Doc: explain how to open a file at a certain line and column
2018-07-10 13:12:45 -07:00
Lee Dohm
5a6b3c6e99
Merge pull request #17651 from cacheflow/tooltip-should-fade-on-keybaord-event-17431
...
Tooltip should fade on keybaord event 17431
2018-07-10 13:11:52 -07:00
Max Brunsfeld
99a6237c2c
Avoid repeated characterIndexForPosition calls in HighlightIterator.seek
2018-07-10 12:06:25 -07:00
Max Brunsfeld
a6c61f9ae3
Avoid O(injectionCount) linear searches in highlight iterator
2018-07-10 11:25:24 -07:00
Max Brunsfeld
79071996a6
WIP - put back parse queue
2018-07-09 16:01:05 -07:00
Max Brunsfeld
10d8d515ba
Only search for injection markers within a layer's included ranges
2018-07-09 16:00:23 -07:00
Ashi Krishnan
ca854cc267
Spec for injected language folding.
...
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@github.com >
2018-07-09 17:17:58 -04:00
Ashi Krishnan
d6669f4337
Folding works, though folding to a particular level doesn't respect nested grammars.
...
Co-Authored-By: Max <maxbrunsfeld@github.com >
2018-07-09 16:33:24 -04:00
Max Brunsfeld
9484729969
Make select-larger-syntax-node command respect injected languages
...
Co-Authored-By: Ashi Krishnan <queerviolet@github.com >
2018-07-09 11:06:53 -07:00
Lexis Alexander
4d48ea8da2
Fixed failing tests and moved hiding of tooltips on keydown events to tooltip manager.
2018-07-09 00:58:03 -07:00
Lexis Alexander
b53b4e6302
Fixed liniting issues.
2018-07-08 19:50:07 -07:00
Lexis Alexander
5dd84a9bc5
Removed undefined check for event passed in to hideOnClickOrTypeOutsideOfTooltip.
2018-07-08 18:51:38 -07:00
Lexis Alexander
0d67f362ef
Changed function name from hideOrClickOutsideOfTooltip to hideOnClickOrTypeOutsideOfTooltip.
2018-07-08 04:46:50 -07:00
David Wilson
4527a44315
Merge branch 'master' into dw-nightly-releases
2018-07-06 16:06:24 -07:00
Max Brunsfeld
653a66619a
Fix error when injection points are added before grammars are loaded
2018-07-06 15:31:33 -07:00
Max Brunsfeld
1c64fc85a8
Preload main modules of language-html and language-javascript
2018-07-06 14:56:46 -07:00
Max Brunsfeld
4de1a5c23d
Merge branch 'master' into tree-sitter-injections
2018-07-06 14:03:56 -07:00
Max Brunsfeld
670371c376
Fix propogation of included ranges for injections within injections
...
Co-Authored-By: Ashi Krishnan <queerviolet@github.com >
2018-07-06 13:53:13 -07:00
Max Brunsfeld
a9da395f60
Fix linter errors
2018-07-06 12:21:11 -07:00
Max Brunsfeld
1ba18314f9
Remove grammar argument from populateInjections
...
Co-Authored-By: Ashi Krishnan <queerviolet@github.com >
2018-07-06 12:15:30 -07:00
Max Brunsfeld
94999cc5e3
Revert "Allow for parsing injections in parallel"
...
This reverts commit a484ca9e65 .
2018-07-06 11:54:18 -07:00
Matthew Dapena-Tretter
f60f1692fd
Reset goal column on all cursor changes
...
Previously, pressing the home key (move-to-first-character-of-line)
while on an empty line wouldn't clear the goal column. This is because
it was only cleared on cursor *change* and that didn't result in a
change. With this commit, it's *always* cleared. Operations that want
to preserve the goal column can reset it afterwards.
2018-07-05 20:13:59 -07:00
Lexis Alexander
8af3079e0f
Hides a tooltip when a user types in the editor.
...
-This addes a new keydown event that hides a tooltip when keyboard events occur.
-This closes #17431 .
2018-07-05 20:00:10 -07:00
Ashi Krishnan
8f16cf1f19
injectionPoint content can return an array of nodes now
2018-07-05 17:46:13 -04:00
Ashi Krishnan
0e15dc2ffe
Merge branch 'tree-sitter-injections' of github.com:atom/atom into tree-sitter-injections
2018-07-05 13:09:28 -04:00