Yes its BBCodeView , But as I add the BCTextEngine, There in the Log error is displayed. This happens when I add it to my project.
If i choose, new project, there is not error.
Is it a case that, BCTextEngine, works only with Main (Activity Module) and not other modules included with it?
Yes its BBCodeView , But as I add the BCTextEngine, There in the Log error is displayed. This happens when I add it to my project.
If i choose, new project, there is not error.
Is it a case that, BCTextEngine, works only with Main (Activity Module) and not other modules included with it?
1. It has nothing to do with this thread.
2. You should post errors as text, not screenshot.
3. To answer the question in the first post:
B4X:
BBCodeView1.Text = $"3${SuperScript("2")} + 4${SuperScript("2")} = 5${SuperScript("2")}
1205${SuperScript("3")} + 111${SuperScript("3")} = 1307${SuperScript("3")}
Water = H${SubScript("2")}O"$
Sub SuperScript(s As String) As String
Return $"[vertical=-10][textsize=12]${s}[/textsize][/vertical]"$
End Sub
Sub SubScript(s As String) As String
Return $"[vertical=6][textsize=12]${s}[/textsize][/vertical]"$
End Sub