[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:
committed by
Space Team
parent
a7984c6794
commit
1c2fac41c2
+1
-1
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user