On 05/03/07, SPE Stani's Python Editor <[EMAIL PROTECTED]> wrote:
Hi All,
Hi All, I have been playing with this demo, and it is very nice. Good work!
- The hierarchy is extracted in a recursive data class Node by the scintilla editor of which the root is passed to a wxTreeCtrl. So this should make easy to port it to other gui toolkits which have a scintilla control.
Unfortunately, we don't have the scintilla control in PyGTK (well we do, but we are forced to maintain it ourselves, and we never want to be bound to use it). I am guessing the crux of the parsing etc is done by the lexer for the editor, and then extracted. Unfortunately this would be no good for non-scintilla based applications. Has anyone done any work on creating a generic parser in Python, or any other language with Python bindings? Or has anyone got any knowledge about taking the parser out of Scintilla and running it independently of the UI? Thanks, Ali
