Jump to content

[Resolved] RichEdit not working with @CRLF?

Recommended Posts


So looks like "BitOR($GUI_SS_DEFAULT_EDIT, $ES_READONLY" was causing problems - I removed these, and looks good now. I see there's a separate ReadOnly in RichEdit, so I'll use that ^_^


Hi again everyone!


I've got myself to a nice place with basic autoit functionality, however I wanted to go a little extra with my ability to colour and highlight lines - so I'm trying to move over to RichEdit.


Instantly though I'm having problems unfortunately - @CRLF doesn't seem to work, or even simply "&". As an example

_GUICtrlRichEdit_InsertText($Edit1, "Selected " & @CRLF & "Test")

Returns output of:

Selected Selected Selected Selected 

When I hit it multiple times. Everything after the first "&" is just...gone.

I also tried with "AppendText" and get the same output.

Am I doing something really silly here, is this an issue with the latest AutoIt, or is there any better alternative to RichEdit? 


Thanks as always for any insight you guys can give!


Edited by Eambo
Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...