Code around components


Can codemirror achieve the effect of cursor surrounding code? The difference is that I want to click on the diff block to pop up