Awesome
JUCE BBCodeEditor Module
<img align="right" src="https://www.sounddevelopment.nl/sd/resources/images/bbcodeeditor.png">by Marcel Huibers | Sound Development 2022 | Published under the MIT License
<br>A descendant of juce::TextEditor
that accepts BBCode formatted text.
Supports all formatting options that juce::TextEditor
supports.
Features:
- Font family, height and colour.
- Bold, italic and underline.
- Bullet lists.
- Quotes.
- Code segments.
Usage
BBCodeEditor can be easily swapped with any existing juce::TextEditor
.
Declare the editor:
sd::BBCodeEditor m_codeEditor;
Add it in your constructor:
addAndMakeVisible(m_codeEditor);
Add BBCode formatted text to the editor:
m_codeEditor.setBBtext( bbText );
<br><br>
Sound Development 2022