c1d3bf8506
The previous implementation worked fine in tests, when we asked for completion where the user does, but that's not what happens during actual completion. Actually the 'offset' is at the start of the identifier. R=brianwilkerson@google.com Bug: https://github.com/dart-lang/sdk/issues/36890 Change-Id: I5ceaff055580a18fe34d2c17ccacef8f4c7663b3 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/108282 Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Commit-Queue: Konstantin Shcheglov <scheglov@google.com>