Skip to content

Text search results in API should return all matches on one line in a single result object #59919

Closed

Description

@roblourens

We would change match to matches and range to ranges

/**
 * A preview of the text result.
 */
export interface TextSearchResultPreview {
	/**
	 * The Range within `text` corresponding to the text of the match.
	 */
	matches: Range[];
}

/**
 * A match from a text search
 */
export interface TextSearchLineMatch {
	/**
	 * The range of the match within the document.
	 */
	ranges: Range[];
}

Activity

  1. added
    search
    on Oct 3, 2018
  2. added this to the October 2018 milestone on Oct 3, 2018
  3. self-assigned this
    on Oct 3, 2018
  4. skprabhanjan commented on Oct 4, 2018

    @skprabhanjan
    Contributor

    roblourens , is this just changing the names as you suggested, if so can i do that?

  5. roblourens commented on Oct 4, 2018

    @roblourens
    MemberAuthor

    No this will take some discussion and implementation changes, so this one is for me 😁

  6. locked and limited conversation to collaborators on Dec 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

api-proposalsearch

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions