Questions tagged [text-properties]

Properties that can be attached to text in a buffer and that will move with the text. Mainly used to highlight text and thus they can be used as a replacement for syntax highlighting.

Filter by
Sorted by
Tagged with
0
votes
2answers
60 views

How do I sort lines based on a text property?

I would like to tag lines with a certain text property and then sort all lines with that text property to come to the top. How can I sort based on having a text property rather than a pattern match?