From 39da5369341f35a7a44cb4b1a8ed9ee35d549776 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Mon, 16 Apr 2001 11:48:01 +0000 Subject: Spelling corrections. --- doc/Steps.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'doc/Steps.html') diff --git a/doc/Steps.html b/doc/Steps.html index c15346166..3b74bd342 100644 --- a/doc/Steps.html +++ b/doc/Steps.html @@ -46,7 +46,7 @@

The simple way to control Scintilla

The simple way is just like with any other windows control. You can send messages to the - Scintilla Edit Control and recieve notifications from the control. (Note that the notifications + Scintilla Edit Control and receive notifications from the control. (Note that the notifications are sent to the parent window of the Scintilla Edit Control.)

@@ -65,13 +65,13 @@ SendMessage(hwndScintilla,SCI_CREATEDOCUMENT, 0, 0);

- Some of the commands will return a value and unused parameters sould be set to NULL. + Some of the commands will return a value and unused parameters should be set to NULL.

The fast way to control Scintilla

- The fast way of controling the Scintilla Edit Control is to call message handling function by yourself. - You can retrive a pointer to the message handling function of the Scintilla Edit Control and + The fast way of controlling the Scintilla Edit Control is to call message handling function by yourself. + You can retrieve a pointer to the message handling function of the Scintilla Edit Control and call it directly to execute a command. This way is much more faster than the SendMessage() way.

@@ -102,11 +102,11 @@

-

How will I recive notifications?

+

How will I receive notifications?

- Whenever an event occures where Scintilla wants to inform you about something, the Scintilla Edit Control + Whenever an event occurs where Scintilla wants to inform you about something, the Scintilla Edit Control will send notification to the parent window. This is done by a WM_NOTITY message. - When recieving that message, you have to look in the xxx struct for the actual message. + When receiving that message, you have to look in the xxx struct for the actual message.

So in Scintillas parent window message handling function you have to include some code like this: -- cgit v1.2.3