On Fri, 23 Feb 2018 08:22:55 -0800 (PST) vitalije <[email protected]> wrote:
> a plugin with handful of universal functions for manipulating source > code, that user can use to reshape code any way he/she likes. That > would work for all kinds of source files. It would be fun, although perhaps not ultimately useful ;-) to experiment with a function in the above toolkit that tries generate regexs bases on selected text. So you select a unit of meaning you want in a node in your source and run this function, and it cycles through a few heuristics to generate regexes and reports how many more similar blocks would be recognized by each one, with maybe a preview of what they look like. You could even have a preparatory command where you highlight the text you'd want to be the node name, run the preparatory command to store that name, then run the main function, so now at least it knows where the name is. Not everything has a name in that way of course. Cheers -Terry -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.
