You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to present a block of text which is actually Objective-C source code. However if I do that in a Label, the text gets completely scrambled with all the text missing that follows a [.
I would expect this level of interpretation from some rich text view but not from a standard label and I do not see anything in the API to disable this kind of parsing?
Is this a bug or am I holding it wrong? My code for updating is fairly simple:
def compose(self) -> ComposeResult:
yield Label()
def watch_context(self, context):
self.query_one(Label).update(context.details) # context.details returns the above code as a single str
The text was updated successfully, but these errors were encountered:
I am trying to present a block of text which is actually Objective-C source code. However if I do that in a Label, the text gets completely scrambled with all the text missing that follows a
[
.So for example this text:
Will render as this:
I would expect this level of interpretation from some rich text view but not from a standard label and I do not see anything in the API to disable this kind of parsing?
Is this a bug or am I holding it wrong? My code for updating is fairly simple:
The text was updated successfully, but these errors were encountered: