Closed adamfaulkner closed 11 years ago
I've never seen the behavior of inserting the candidate lightly colored after the cursor, for me, other modes behave the same as Tern. Tern.el uses the built-in completion-in-region
function, and doesn't do the actual insertion itself.
Fixed by 08d7519
When completing with only one candidate, the tern-auto-complete.el inserts the candidate directly, rather than hinting with it. This is inconsistent with other auto complete modes, where the candidate is hinted at, but not inserted.
example:
In other modes, autcomplete displays a lightly colored "candidate" after the cursor; this allows the user to type values other than "candidate"