Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/ZioGuido/JuceHtmlTextEditor


https://github.com/ZioGuido/JuceHtmlTextEditor

Last synced: about 2 months ago
JSON representation

Lists

README

        

# JuceHtmlTextEditor

This is an example program for a JUCE component that I wrote that can do some simple HTML 4 parsing of just the basic tags for formatting text and adding hyperlinks.
Since no component in the JUCE library can mix normal text and hyperlinks, the only way to do so was to mix multiple components and find a good solution to align them in a way
that everything seems fluid like on a normal web page. Quite tricky, isn'it?

The JUCE component TextEditor can be multiline and supports changing font size, faces and colors, like an RTF document (or an HTML page!), but can't parse any markup language.
So I have added some functions to do the parsing and handle clickable links.

```html
Currently, the only tags that are correctly supported are:
- Bold
- Italic
- Underlined
- Font with properties size="" color="" and face=""
- Headers

...


- Unordered list