I used php embed (libphp.so) and function tokens_get_all. So i recieve very powerfull tokenizer. we can take lex source from php, but there is many work with it. How can i show you patches?
19.01.2011, 01:23, "Enrico Tröger" enrico.troeger@uvena.de:
On Tue, 18 Jan 2011 22:28:11 +0300, Константин wrote:
Hi,
I used zend engine tokenizer from php.
Could you elaborate on this a bit? Is this a C library or a PHP tool?
now i am talking only about autocomplete_scope (editor.c) for example i type "$hello->" after that there is searching algorythm, it worked in such way:
- found tag.
- get it varType
- search tag using varType
- search scoped members of tag with varType
- show user autocompletion window.
so if varType is not set, then there no be any scoped members.
Yes, seems right. So actually yes, if you set varType correctly, scoped auto completion might work. I forgot to mention this special case in my first answer as this code is relatively new and for some reason, I tend to ignore it often...sorry.
Regards, Enrico
-- Get my GPG key from http://www.uvena.de/pub.asc
Geany-devel mailing list Geany-devel@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel