Ich hab mich mal rangesetzt die SciLexer.dll für XProfan nutzbar zu machen. Dazu habe ich die Header-Dateien übersetzt usw. Ich kann jetzt ein Control erstellen und auch den Text manipulieren. Auch Seitenzahlen werden auf Wunsch angezeigt. So weit, so gut. Jetzt habe ich aber folgende Probleme: Ich bekomme das Styling und Codefolding nicht per sendmessage hin. Hat schon jemand Erfahrung und kann etwas weiterhelfen? Paket im Anhang, die SciLexer.dll müsst ihr selbst herunterladen, da ich sie nicht in das Paket aufnehmen darf. Der Inhalt des Pakets ist undokumentiert und ohne Gewähr, ich stehe ja auch (hoffentlich) erst am Anfang der Entwicklung.
SciLexer.dll und XProfan
-
-
-
die SciLexer.dll müsst ihr selbst herunterladen, da ich sie nicht in das Paket aufnehmen darf.
Die DLL hat den Status von Public Domain und darfst Du zum Download anbieten!
-
XProfed, dessen Sourcecode ja in XProfan vorliegt, nutzt auch eine (angepasste) SciLexer-DLL! Da kannst Du sicherlich auch Einiges im Quellcode nachschauen.
Gruß
Roland -
Ah gut, danke. Da werde ich morgen mal weiterbasteln.
Vielen Dank!!! -
Hier mal die Lizenz für die Scintilla.dll bzw. Scilexxer.dll:
Scintilla LicenseLicense for Scintilla and SciTE
Copyright 1998-2003 by Neil Hodgson <neilh@scintilla.org>
All Rights Reserved
Permission to use, copy, modify, and distribute this software and its
documentation for any purpose and without fee is hereby granted,
provided that the above copyright notice appear in all copies and that
both that copyright notice and this permission notice appear in
supporting documentation.NEIL HODGSON DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS, IN NO EVENT SHALL NEIL HODGSON BE LIABLE FOR ANY
SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE
OR PERFORMANCE OF THIS SOFTWARE.Die sollte jeder DLL beigefügt sein.
-
Ah gut, da wird das auch kein Problem sein.
-
Hm, dann ist ja eigentlich schon alles da. Da erübrigt sich meine Inc.
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!