Skip to content

Latest commit

 

History

History
36 lines (29 loc) · 953 Bytes

README.md

File metadata and controls

36 lines (29 loc) · 953 Bytes

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