Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/SoundDevelopment/bbcode-editor
juce TextEditor descendant that accepts BBCode.
https://github.com/SoundDevelopment/bbcode-editor
Last synced: 3 months ago
JSON representation
juce TextEditor descendant that accepts BBCode.
- Host: GitHub
- URL: https://github.com/SoundDevelopment/bbcode-editor
- Owner: SoundDevelopment
- License: mit
- Created: 2022-04-10T21:48:32.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-04-11T21:09:03.000Z (over 2 years ago)
- Last Synced: 2024-04-23T04:53:07.368Z (7 months ago)
- Language: C++
- Size: 41 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-juce - bbcode-editor
README
# [JUCE](https://juce.com/) BBCodeEditor Module
###### *by Marcel Huibers | [Sound Development](https://www.sounddevelopment.nl) 2022 | Published under the [MIT License](https://en.wikipedia.org/wiki/MIT_License)*
A descendant of `juce::TextEditor` that accepts [BBCode](https://www.bbcode.org/reference.php) 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*