#1855 ILoader interface is in a private header ILexer?


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?


  • Wonson

    Wonson - 2016-08-31

    Or should i create a identical interface in my app? Then: reinterpret_cast<MyAppILoader>(theReturn); ?

    Last edit: Wonson 2016-08-31
  • Neil Hodgson

    Neil Hodgson - 2016-08-31
    • labels: mac, ILoader --> mac, ILoader, cocoa
    • status: open --> open-accepted
    • assigned_to: Neil Hodgson
  • Neil Hodgson

    Neil Hodgson - 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.

  • Wonson

    Wonson - 2016-08-31

    Cool. Thanks

  • Neil Hodgson

    Neil Hodgson - 2016-09-06
    • status: open-accepted --> open-fixed
  • Neil Hodgson

    Neil Hodgson - 2016-10-16
    • status: open-fixed --> closed-fixed

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks