How to bring the text of the gutter area

I am developing a function that works when I press ctrl+enter with text in the gutter area.

What I’m not good at right now is that I want to bring the texts of the lines belonging to the gutter group, but I’m not sure how.

image

How can I get the text of the lines in the gutter area that are yellow?

‘Gutter’ is usually used to mean the area where the line numbers are in a text area. I don’t really understand what you mean by it in this post though.

I guess I didn’t explain well. It does not correspond to gutter, but I want to bring the text value of the area where the gutter is caught in the codemirror.

For example

The first gutter area
/**
test1
*/
I wonder if there is a function or method to get this annotation value.