I know and have seen examples of highlighting just a word (such as "print"), but I was wondering if I was able to do something like:
[B]Bold Text[\B]
I would like for it to start making the text bold when it locates:
[B]
and stop making the text bold when it finds:
[\B]
I know this is how it works on most forum sites, but I didn't know if this would work in Python. I remember seeing the expressions "wordstart" and "wordend" on the EffBot page for the Text widget, I thought this may be the way to do it, but I don't really know how to apply this to my code.
This will probably get marked as a copy/duplicate, but I haven't found anything answering how to highlight with something like:
[B]
EffBot page: http://effbot.org/tkinterbook/text.htm
Post Scriptum: I would also be able to highlight from the marker to the end the next space with something like:
www. or http://