Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

[js code hints] code hint for function with non ascii chars only show partial function name. #3940

Closed

Description

@jodyzhang
  1. copy /past following in brackets:
frenchçProp();
function frenchçProp(){};


function 測是fun(){}
測是fun();

2.put cursor after function call(, so frenchçProp(<cursor>, 測是fun(<cursor>

->when code hint shows up for the function, it is çProp(, 是fun(), which is incorrect.

Expect: full function name.

Activity

  1. ghost assigned on Jun 3, 2013
  2. pthiess commented on Jun 3, 2013

    @pthiess
    Contributor

    @dloverin - Please prioritize, we were not sure if this is a common case.

  3. dloverin commented on Jun 7, 2013

    @dloverin

    The call to cm.getTokenAt(cursor) returns a token where token.string is incorrect for non-ascii characters.

  4. dloverin commented on Jun 7, 2013

    @dloverin
  5. lkcampbell commented on Jan 5, 2014

    @lkcampbell
    Contributor

    @jodyzhang, I can't repro this issue any more. Perhaps it has been fixed in Tern. FBNC back to you to test.

  6. redmunds commented on Mar 17, 2014

    @redmunds
    Contributor

    Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions