To be fair, I was thinking of ad-hoc creating properties, not using a 
script parsing a file.

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

> 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/9a3dc629-8638-43ca-be0e-510c6bc9fa97n%40googlegroups.com.

Reply via email to