This is my first shot at translating the demo for Scintilla, a custom control lexer that can be used to create IDE's. There are some advantages to Scintilla, it can handle UTF-8 documents so assembling a UNICODE application in GoAsm is simpler than with a normal ansi editor. It is reconfigurable and commands can be sent directly to the control bypassing the SendMessage API if you need more speed. I doubt that I will write a replacement for Ketil's RadASM as it is IMO simply the best ASM IDE I have found out there but I saw Scintilla while browsing a while back and figured it would make a good project...
Lots to do yet but it's a start
I have included the SciLexer DLL from the Scintilla project. (http://scintilla.sourceforge.net/ScintillaDoc.html)
Donkey
[attachment deleted by admin]
Well, Scintilla component isn't something very new, I've been using it for two years and I like it a lot. Your example is a little incorrect, or maybe demo that you were translating was... So basically don't use SendMessage with this component and add WS_CLIPCHILDREN style so there is no flicker when resizing. Also loading even big files should take a split of second, but in your example it takes way longer ::) good luck with your IDE :lol
Hi Donkey
A nice bit of translation work to GoAsm, I'll add this to the sample list. It will help GoAsm users to see what can be achieved.
Just one question, is the DLL redistributable/open source?
Quote from: jorgon on December 09, 2007, 07:16:15 PM
Just one question, is the DLL redistributable/open source?
Yes (http://scintilla.sourceforge.net/ScintillaDownload.html).
Ehtyar.
Hi Jeremy,
The Scintilla license that comes with the package and is included at the top of my source says...
QuoteCopyright 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.
The supporting documentation also specifically allows use in commercial applications without fee.
Donkey