[code] [scintillua] Docs and lexer number

From: Nils Nordman <nino.att.nordman.org>
Date: Thu, 22 Mar 2012 20:49:38 +0100

Hi,

some things I came across while playing with Scintillua:

First, the pseudo-code at
http://foicica.com/scintillua/api/Scintillua.html is incorrect as far
as I can tell:

SendScintilla(sci, SCI_PRIVATELEXERCALL, SCI_SETDOCPOINTER, sci)

Here sci is the return from scintilla_new, but the parameter should be
the direct pointer (as is noted further down in the documentation for
SCI_SETDOCPOINTER).

Secondly a question: Any reason why LexLPeg.cxx specify
"SCLEX_AUTOMATIC - 1" as the lexer number instead of "SCLEX_AUTOMATIC"
which would appear to be the correct choice?

Cheers,

-- 
Nils Nordman <nino.att.nordman.org>
-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Thu 22 Mar 2012 - 15:49:38 EDT

This archive was generated by hypermail 2.2.0 : Fri 23 Mar 2012 - 06:45:25 EDT