The method getAllMarks() cannot get which line it is on. Is there a simple way to get the specific location of markText, and can get the two attributes of line and ch in detail?
getAllMarks
returns TextMarker
objects, which have a find
method that will tell you where they are.
Thank you very much, it helped me a lot, thank you very much
I have a question, the cursor cannot be inserted in the middle of markText, you can only put the cursor at the end, and then press the left and right arrow keys on the keyboard to enter between mark and mark, what should I do?