I know there's some black magic out there called style runs, but I can't seem to understand how to use them properly. I have some output from a MAP command (in Achaea), which looks like this.
Each of the [ and ] marks are coloured, as well as some of the line connections. My plugin parses this and puts it in a miniwindow, where it looks like this.
I want to copy the colour of the [ ] marks onto the corresponding # mark, and maintain the colour of the line connections. I have no idea how to do this, however. A simple example would be a great starting point for me.
\
-[ ]-[ ]
|
| [ ]-[ ]-[+]
\ | | x | x |
[ ]-[ ] [ ]-[ ]-[ ]-[ ]
/ | / | x | x | |
[ ]-[ ] [ ]-[ ]-[ ] [ ]
| x | \
[ ]-[ ] [ ]-[ ]-[ ]
| /
[ ] [ ]-[ ] [ ]
| \ | x | /
[ ]-[ ]-[ ]-[ ]
\ | / | \
Each of the [ and ] marks are coloured, as well as some of the line connections. My plugin parses this and puts it in a miniwindow, where it looks like this.
\
-#-#
|
| #-#-#
\ | |x|x|
#-# #-#-#-#
/ | /|x|x| |
#-# #-#-# #
|x| \
#-# #-#-#
| /
# #-# #
|\|x| /
#-#-#-#
\|/ |\
I want to copy the colour of the [ ] marks onto the corresponding # mark, and maintain the colour of the line connections. I have no idea how to do this, however. A simple example would be a great starting point for me.