Interesting, I did not know about text properties although it only seems 
marginally useful:

```When a buffer is unloaded, all the text properties are gone.  There is 
no way
to store the properties in a file.  You can only re-create them```

What would it take to save them to a shadow file?

On Tuesday, September 14, 2021 at 8:17:57 AM UTC-4 [email protected] wrote:

>
> On Di, 14 Sep 2021, Julius Hamilton wrote:
>
> > I would like to sort lines in a text document and then tag them, and 
> then revert the file to its original order.
> > 
> > First of all, is there a way to tag a line, so that lines with a given 
> tag can be quickly referred to, but the tag is not in the actual text?
>
> I think this can be done using text-properties.
> Have a look at :h text-prop-intro
>
> Best,
> Christian
> -- 
> Ungleich den Franzosen und Engländern, loben die Deutschen nichts (an
> einem Autor, Menschen), ohne alles zu loben; sie glauben parteiisch
> sein zu müssen.
> -- Jean Paul
>

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/ebe00758-eb50-45bd-a626-5713aeb5cc67n%40googlegroups.com.

Reply via email to