Skip to content

Fix for parameter hints not showing when using tabs instead of spaces #14644

@core-ai-bot

Description

@core-ai-bot

Issue by SietseB
Monday Jan 20, 2020 at 15:54 GMT
Originally opened as adobe/brackets#15018


Parameter hints are not showing when using the tab character for indents.
In case of spaces a column number equals the character position in the line string, but in case of tabs that trick doesn't work.
This fix converts a column number to a character position, taking tabs into account.


SietseB included the following code: https://github.com/adobe/brackets/pull/15018/commits

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions