B4A Library [B4X] BCTextEngine / BBCodeView - Text engine + BBCode parser + Rich Text View - Erel    
Mar 22, 2026   
(74 reactions) start with a simple example:
1. Create a layout with BBCodeView.
2. Initialize a BCTextEngine... with TextEngine.KerningEnabled = False.
- v1.72 - BCTextRun.Text field was added back. Fixed issue where...
link: - v1.97 - Fixes an issue with ordered lists where the font style wasn't set properly....
link: - v1.96 - Fixes an issue caused by rounding errors related to the device scale calculations. Mainly ...
link: - v1.95 - new anchors feature.
1. Add anchors with the new "a" tag.
2. Jump to anchors wi...
B4A Library [B4X] BBListItem - BCTextEngine inside CLV - Erel    
May 27, 2021   
(16 reactions)BBCodeView is a scrollable view by itself. Trying to put it inside a CLV will cause all kinds of problems.
BBListItem is a modified version of BBCodeView, which is built for being contained in a CLV.
Among other things, it only draws the currently visible text.
It was written originally for the Pleroma client: https://www.b4x.com/android/forum/threads/124214/#content
Its performance is very good ...
Other [work in progress] BCText - Cross platform text engine - Erel    
May 13, 2019   
(23 reactions)BCText is a custom and cross platform text engine. It can be used for all kinds of things such as cross platform implementation of CSBuilder, rich text view, specialized text layouts and other cases where you need full control over the text layout.
More information next week.
It is not 100% ready and especially it is missing another layer above the engine that will make it easier to build the text with the various options.
B4J code depends on the attached jBitmapCreator (v4.71).
80213...
B4A Tutorial [B4X] [B4XPages] BCTextEngine parser: B4X Code Highlighter - Erel    
Sep 5, 2019   
(22 reactions)https://www.b4x.com/basic4android/images/java_QIDqgmNTqq.png
https://www.b4x.com/basic4android/images/firefox_5AjleJ4uQg.png
This is an example of creating a custom parser for BBCodeView. It depends on BCTextEngine v1.61+ which allows setting the text runs directly instead of parsing the BBCode.
The parser is compatible with B4A, B4J and B4i. Note that in B4J the text looks less clear...
link: nice thank you...
B4i Question [BCTextEngine] BBLabel and xCustomListView text is cropped - Alexander Stolte    
Dec 30, 2024I use the BBLabel and I noticed that under IOS the letters are chopped off, as if a piece was missin...
link: Fixed in v1.96: https://www.b4x.com/android/forum/threads/b4x-bctextengine-bbcodeview-text-engine-b...
link:
I also noticed that if there is a “g”, for example, then all the other letters are correct, but the...
link: But it can't be that the text is chopped off when the panel is more than sufficient in size. The...
B4A Question [B4X] BBListItem - BCTextEngine inside CLV Display Problem - klaus    
May 31, 2021Hi Erel,
I tried the BBListItem - BCTextEngine inside CLV project, second post, with several texts.../b4a.BCTextInCLV/files/virtual_assets/dreamview.jpg: open failed: ENOENT (No such file or directory...)
at b4a.BCTextInCLV.bbcodeparser$ResumableSub_SetImageView.resume(bbcodeparser.java:1423)
at b4a.BCTextInCLV.bbcodeparser._setimageview(bbcodeparser.java:1201)
at b4a.BCTextInCLV.bbcodeparser._texttorun(bbcodeparser.java:514)
at b4a.BCTextInCLV.bbcodeparser._createruns(bbcodeparser...
B4A Tutorial [B4X] xCLV + PreoptimizedCLV + BCTextEngine - Erel    
May 27, 2020   
(12 reactions)94609
This example uses PreoptimizedCLV to create a list of BBCodeViews.
In most cases it will be simpler to create a single BBCodeView, as BBCodeView is scrollable. However there might be some use cases where it makes sense to put the BBCodeViews in a list.
It depends on BCTextEngine v1.77+ (https://www.b4x.com/android/forum/threads/b4x-bctextengine-bbcodeview-text-engine-bbcode-parser-rich-text-view.106207/page-1)
And PreoptimizedCLV: https://www.b4x.com/android/forum/threads/115289...
B4J Code Snippet [B4X] [BCTextEngine] Custom formatting rules - Alexander Stolte    
Jan 5, 2025   
(7 reactions)I am working on a new feature for my app, whatsapp has had this feature for a long time.
If the use...
link: Maybe some inspiration is in this tip:
https://www.b4x.com/android/forum/threads/simple-function-to...
link: Markdown is more familiar to me than BBCode...
link: @Ivan Aldaz has something similar here
@Antoine EGO also has another similar code snippet here...
B4A Library [B4X] BCToast - Cross platform custom toast message - Erel    
Aug 9, 2026   
(34 reactions)BCToast is a custom "toast" message implementation based on BCTextEngine: https://www.b4x.com/android/forum/threads/b4x-bctextengine-bbcodeview-text-engine-bbcode-parser-rich-text-view.106207/#content
It requires BCTextEngine v1.65+.
https://www.b4x.com/basic4android/images/java_Vr5tF2Iymf.png
Note that unlike B4A built-in toast message feature, this toast message can only... customizable. See BCTextEngine for more information.
Tip: use the plain tag if you are showing...
Share My Creation [B4X] B4X Pleroma - open source client for Mastodon / Pleroma social networks - Erel    
Nov 4, 2020   
(16 reactions)What is Mastodon?
IPSbNdBmWKE
Pleroma is a lightweight implementation that extends Mastodon.
B4X Pleroma is a client for these social networks.
More information here: https://www.b4x.com/android/forum/threads/119426/#content
It is based on quite a few B4X components including: BCTextEngine, BitmapCreator, MiniHtmlParser, OkHttpUtils2, OAuth, KeyValueStore, XUI Views, B4XPages, B4XDrawer, B4XGifView, B4XPreferencesDialog, BCToast, xCustomListView, BitmapsAsync, RequestsManager and...
Page: 1  
2  
3  
4  
5  
6  
7