Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Move code out of closure in getDocumentHighlights#13548

Merged
1 commit merged into
mastermicrosoft/TypeScript:masterfrom
document_highlights_unclosuremicrosoft/TypeScript:document_highlights_unclosureCopy head branch name to clipboard
Jan 17, 2017
Merged

Move code out of closure in getDocumentHighlights#13548
1 commit merged into
mastermicrosoft/TypeScript:masterfrom
document_highlights_unclosuremicrosoft/TypeScript:document_highlights_unclosureCopy head branch name to clipboard

Conversation

@ghost

@ghost ghost commented Jan 17, 2017

Copy link
Copy Markdown

...then again out of getSemanticDocumentHighlights and getSyntacticDocumentHighlights.

Also return a Node[] instead of a HighlightSpan[] where possible and do mapping from Node to HighlightSpan in one place.

Continuation of #13476 and #13534.

@ghost ghost requested a review from sandersn January 17, 2017 22:34
@ghost ghost force-pushed the document_highlights_unclosure branch from 444b099 to cca712f Compare January 17, 2017 22:47
…f `getSemanticDocumentHighlights` and `getSyntacticDocumentHighlights`.

Also return a `Node[]` instead of a `HighlightSpan[]` where possible and do mapping from Node to HighlightSpan in one place.
@ghost ghost force-pushed the document_highlights_unclosure branch from cca712f to bddcbc5 Compare January 17, 2017 22:49
@ghost ghost merged commit 381960f into master Jan 17, 2017
@ghost ghost deleted the document_highlights_unclosure branch January 17, 2017 23:35
@ghost ghost mentioned this pull request Apr 2, 2018
@microsoft microsoft locked and limited conversation to collaborators Jun 19, 2018
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.