0.5 - Fixed: copy location instructions, forgot we've got a subsystem now Smile
Fixed: Notification Bug, was HUGE! and has required some major changes to
the library, please accept my appologies for this over sight, and
read the docs for the updates.
- 0.5> commands alterations
. From v0.5 GetScintillaNotifyStruct() is no longer a command it has been replaced
with a callback function which you provide in PureBasic, see end of document for
how to write a callback.
-------------------------------------------------------------------------------
NAME
ScintillaCallBack -- Obtains messages from a scintilla gadget
SYNOPSIS
ScintillaCallBack(hwnd.l,gid.l,*scinotify.SCNotification,lParam.l)
FUNCTION
You can call this function anything you like but for the purpose of
description, we'll define it like it already is one.
This 'user created callback function' is passed to the scintillagadget
at creation time;
ScintillaGadget(editorid,0,0,200,200,flags,@ScintillaCallBack())
INPUTS
gadget address - address of the gadget that coured the event
gid - gadget id that coursed the event
*SCNotification - a pointer to the notification structure see example:
LParam - argument 2, is unkown so define it anyway!
EXAMPLE
Procedure ScintillaCallBack(hwnd.l,gid.l,*scinotify.SCNotification,lParam.l)
Select *scinotify\nmhdr\code
Case #SCN_CHARADDED
Case #SCN_MARGINCLICK
EndSelect
EndProcedure
http://graygriffen.net/~inner/pbscintillav0.5.tgz