Platform: MAC OSX 10.11
Scintilla: 3.6.6
By my understanding, the usage of ILoader is:
1. Create a Loader Object with a call to backend with message SCI_CREATELOADER
2. Use this object as a ILoader interface object in my app, to call its function AddData(char *data, int length) to load file, blahblahblah...
However, when I try to declare a ILoader variable in my app
ILoader *loader = (ILoader *)[ScintillaView directCall:_view message: SCI_CREATELOADER wParam:1024 lParam:0];
I found that ILoader is not a public class for places outside scintilla framework to use.
Did I get the usage of this function wrong? or it's a mistake of ILoader?
Or should i create a identical interface in my app? Then: reinterpret_cast<myappiloader>(theReturn); ?</myappiloader>
Last edit: Wonson 2016-08-31
Add the scintilla/include directory to your includes for now. Most platforms don't have anything similar to frameworks. ILexer.h will be added to the framework after the 3.6.7 release which is in feature freeze.
Cool. Thanks
Fix committed as [24b970].
Related
Commit: [24b970]