B4J Question Change to BCTextEngine

stevel05

Expert
Licensed User
Longtime User
I have used B4xSimpleCodeHighlighter in a couple of projects which uses the Text field of BCTextRun Type, this appears to have been removed in V1.71.

I have replaced it for my use with a sub :

B4X:
Private Sub GetText(TR As BCTextRun) As String
    Dim S As JavaObject = ""
    Return S.RunMethod("join",Array("",TR.TextChars.Buffer))
End Sub

which appears to work, I just wanted to make sure I haven't missed something that will cause further problems. It would take hours to go through the whole code of BCTextEngine.
 
Top