Add comment
This commit is contained in:
@@ -516,6 +516,7 @@ fun ExtractableCodeDescriptor.generateDeclaration(options: ExtractionGeneratorOp
|
|||||||
anchorCandidates.maxBy { it.getTextRange().getStartOffset() }!!
|
anchorCandidates.maxBy { it.getTextRange().getStartOffset() }!!
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Ascend to the level of targetSibling
|
||||||
val targetParent = targetSibling.getParent()
|
val targetParent = targetSibling.getParent()
|
||||||
marginalCandidate.parents().first { it.getParent() == targetParent }
|
marginalCandidate.parents().first { it.getParent() == targetParent }
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user