clang: include tooltips: fix range check

Authored by brauch on Aug 22 2018, 8:22 PM.

Description

clang: include tooltips: fix range check

Summary:
The clang plugin would always show the include navigation tooltip
if the cursor was anywhere on the line, since it was never checking
whether the cursor actually contains the word range.

Reviewers: kfunk

Reviewed By: kfunk

Subscribers: kdevelop-devel

Tags: KDevelop

Differential Revision: https://phabricator.kde.org/D14865

Details

Committed
kfunkAug 22 2018, 8:22 PM
Reviewer
kfunk
Differential Revision
D14865: clang: include tooltips: fix range check
Parents
R32:e3660a2d6dce: Fix clazy 'connect-3arg-lambda' warnings
Branches
Unknown
Tags
Unknown