[Analysis API] ExpressionMarkerProvider: fix path for selected expressions

We are storing them by file path, but accessing them by
file name, which is inconsistent

^KT-64805
This commit is contained in:
Dmitrii Gridin
2024-01-08 15:44:32 +01:00
committed by Space Team
parent a7984c6794
commit 1c2fac41c2
@@ -79,7 +79,7 @@ class ExpressionMarkerProvider : TestService {
private val carets = CaretProvider()
fun addSelectedExpression(file: TestFile, range: TextRange) {
selected[file.relativePath] = range
selected[file.name] = range
}
fun addCaret(file: TestFile, caretTag: String?, caretOffset: Int) {