I'm building a patch to tag my daily files more easily. As my
(meta-)tags are predefined, I'd like them to be automatically added in
[textedit] as I start typing in it. The problem is I'm running a bit
out of idea as for how to implement such a feature. Amongst
unsuccessful methods, I tried the regexp route in order to get which
tags from my predefined list matches what's being typed in textedit.
However, my knowledge of regular expressions being still close to
none, I could not manage to do it out of trials and errors.
Does someone have another idea to patch such a feature ? For example :
assuming I have a list of tags such as '&author= &source= &title=
etc', the point is to get '&author=' added in [textedit] when I type
'a' ; '&source=' if I type 's' etc.
Thanks in advance for any hint