Jump to content

Recommended Posts

Posted (edited)

Hey all.. i want to make a text editor.

The problem is :

I want to color some words (like in SciTE) (Ex: when i type 'autoit' then 'autoit' will be blue and Bold(Bold is optional))

what i do...

main.au3

data.ini :

[Autoit]
color = 0x708090
[Create]
color = 0x002266

I need just a example..

Any help?

Thanks in advance.

Ps. sorry for my english

Edited by PlayHD
Posted

In case you didn't know, you can use the SciLexer.dll that is used in SciTE in your scripts too.

There are a few examples, I even put together a little project that revolves around it.

The most well known one can be found mine can be found in my signature thing and it has a few links to other text editors as well.

Or you can also use a rich edit control, but using the scintilla control is probably a lot better.

Anyway, my point is that they're put out there so anyone can play with them and take stuff from them, so maybe you can check on of them out and take what you need.

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
×
×
  • Create New...