I have had a plugin capturing specified text from MUD and redirect them to a miniwindow.
In some cases, the captured text has special color/fonts.
I want these captured text being draw in miniwindow with its original styles.
I find there's a parameter 'styles' which includes all styles of the whole line and I'm able to loop this style table to draw the whole matched line with style.
But I can not draw the only captured text(recorded by wildcards parameter) as I can not get the exact start/end column of each text in wildcards table.
Is there a formal way to draw text in wildcards table with original style?
In some cases, the captured text has special color/fonts.
I want these captured text being draw in miniwindow with its original styles.
I find there's a parameter 'styles' which includes all styles of the whole line and I'm able to loop this style table to draw the whole matched line with style.
But I can not draw the only captured text(recorded by wildcards parameter) as I can not get the exact start/end column of each text in wildcards table.
Is there a formal way to draw text in wildcards table with original style?