From 39da5369341f35a7a44cb4b1a8ed9ee35d549776 Mon Sep 17 00:00:00 2001
From: nyamatongwe
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 simple 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 @@
-- 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