Skip to content

SoundDevelopment/bbcode-editor

Repository files navigation

JUCE BBCodeEditor Module

by Marcel Huibers | Sound Development 2022 | Published under the MIT License

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 );




Sound Development 2022

About

juce TextEditor descendant that accepts BBCode.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published