Lua Editor with Syntax highlighter?

Hey,
I’m making my own lua editor and im stuck on how do i create syntax highlightning and showing line numbers?

Thanks.

What programming language is this in?

Oh sorry, GLua and in game like luapad or gcompute.

I suggest using the panel RichText. It allows you to edit text colours as you go along, but you’d have to code the syntax highlighting and everything yourself. Good luck!

snip, misread.

How do i create DTextEntry with rich text? I need editor and syntax highlighting but no idea how i can create editor with richtext.

RichText can be edited.

Well how i would replace the normal text with RichText?