What kind of closing of bug report is this ? (67930)

Feedback Case Number: (67930)

This is what it got closed with:


The native RichEdit control prefers CR as the EndOfLine character, so your options are either to assign the entire string upfront:

Var s As String
s = "Some test" + EndOfLine
s = s + EndOfLine + "Some other text"
txaOne.Text= s
Or with a change to txaTwo.Opening using EndOfLine.CR

me.Text = ""
me.Text = "Some test" + EndOfLine.CR
me.Text = me.Text + EndOfLine.CR + "Some other text"

But all this is not relevant since the complaint is not what kind of workaround you can do…either Xojo is Cross platform tool or it is not.

So if getting “EndOfLine” on Windows TextBox, then if the native RichEdit control under the hood has issue with it then Xojo should obviously detect the EndOfLine and convert it to EndOfLine.CR.

It is not helpful for the Xojo cross platform developer to have to just “know” this and have to do tons of #if TARGET_WINDOWS when filling out simple text into a TextBox.

3 Likes

How can we find such a repor? Just searching for 67930 does not find anything in the Issues Tracker.

Need to search on All cases with a # before the number like this: #67930

You need to click “closed” tab also.

The main problem is Xojo using a RichEdit control all the time instead of a multiline Edit control. A LOT of problems could be avoided using the right control. A formated text control should be separated from the multiline textbox

1 Like

What is a “RichEdit control” ??

It’s a control that accepts formating like Bold Underline, tables, lists, etc.

See What is rich text? | Contentful

And which control does that?

Xojo’s TextArea under Windows.

Does this differ from using a StyledText object in a TextArea?