I'm trying to get access to the raw character buffer of Scintilla so I can pass it on to a compiler.
I've tried using this code with SCI_GETCHARACTERPOINTER defined as 2520.
Editor.NativeInterface.SendMessageDirect(SCI_GETCHARACTERPOINTER, IntPtr.Zero, IntPtr.Zero);
However it just seems to return a null pointer. I'm not sure if it's ScintillaNET fault or Scintilla itself, but since it seems like Scintilla uses the same method internally I'm hoping I did something silly instead.