Re: [Geany-devel] Plugin for haxe-completion

2009-07-05 Thread Andreas Mokros
On Sun, 5 Jul 2009 19:11:30 +0200 Enrico Tröger wrote: > On the other hand, you maybe can workaround this by checking checking > the list display status with SCI_AUTOCACTIVE when receiving the > SCN_UPDATEUI. Yep. I think about something like this. Thanks for now. -- Mockey _

Re: [Geany-devel] Plugin for haxe-completion

2009-07-05 Thread Andreas Mokros
On Sun, 5 Jul 2009 18:58:22 +0200 Enrico Tröger wrote: > We are using the autocompletion list in Geany *and* we are using a > userlist with index 1. So you need to use index 2 or above. > Sorry for the confusion, I had a look at the code and still failed. > /me hides. > I was really sure SCI_AUTOC

Re: [Geany-devel] Plugin for haxe-completion

2009-07-05 Thread Enrico Tröger
On Sun, 5 Jul 2009 17:50:31 +0200, Andreas wrote: >Hi. > >On Sat, 4 Jul 2009 15:32:20 +0200 >Enrico Tröger wrote: >> You want to return TRUE if your haxe_completion() code >> does display your userlist and return FALSE if not. This should do >> the trick. > >Pretty close, but not quite there yet.

Re: [Geany-devel] Plugin for haxe-completion

2009-07-05 Thread Enrico Tröger
On Sun, 5 Jul 2009 18:28:26 +0200, Andreas wrote: >Hi. > >On Sun, 5 Jul 2009 16:56:58 +0200 >Enrico Tröger wrote: >> I just had a look at the code and we are currently using only index 0 >> in Geany, so you could use index 1. > >Ah, so these are autocompletion lists? I thought you were using use

Re: [Geany-devel] Plugin for haxe-completion

2009-07-05 Thread Andreas Mokros
Hi. On Sun, 5 Jul 2009 16:56:58 +0200 Enrico Tröger wrote: > I just had a look at the code and we are currently using only index 0 > in Geany, so you could use index 1. Ah, so these are autocompletion lists? I thought you were using user lists ... Sorry, but this is a bit confusing. In Scintill

Re: [Geany-devel] Plugin for haxe-completion

2009-07-05 Thread Andreas Mokros
Hi. On Sat, 4 Jul 2009 15:32:20 +0200 Enrico Tröger wrote: > You want to return TRUE if your haxe_completion() code > does display your userlist and return FALSE if not. This should do the > trick. Pretty close, but not quite there yet. The problem with returning TRUE is that *all* the Geany-ha

Re: [Geany-devel] Plugin for haxe-completion

2009-07-05 Thread Enrico Tröger
On Sun, 5 Jul 2009 00:04:15 +0200, Andreas wrote: Hey, >> > >Another question: It seems that you use "\n" as a separator >> > Er, this is completely up to you which character you use assuming >> > you are using your own userlist (index > 1). >> Hmm, I don't know what you mean by "userlist (in

Re: [Geany-devel] Plugin for haxe-completion

2009-07-04 Thread Andreas Mokros
On Sat, 4 Jul 2009 15:32:20 +0200 Enrico Tröger wrote: > You want to return TRUE if your haxe_completion() code > does display your userlist and return FALSE if not. This should do the > trick. Thanks for the hint. This is working great now. On Sat, 4 Jul 2009 18:19:35 +0200 Andreas Mokros wrot

Re: [Geany-devel] Plugin for haxe-completion

2009-07-04 Thread Andreas Mokros
On Sat, 4 Jul 2009 15:32:20 +0200 Enrico Tröger wrote: > This is why the editor-notify handler can stop the default handler > from being invoked. You want to return TRUE if your haxe_completion() > code does display your userlist and return FALSE if not. This should > do the trick. Ah, yes. I wil

Re: [Geany-devel] Plugin for haxe-completion

2009-07-04 Thread Enrico Tröger
On Sat, 4 Jul 2009 13:38:58 +0200, Andreas wrote: >Hi. > >On Mon, 29 Jun 2009 23:53:26 +0200 >Enrico Tröger wrote: >> For general SVN write access, just tell me your Sourceforge username, >> then I add you to project. > >Username is: mockey. But no need to hurry. I want to do some more >testing (

Re: [Geany-devel] Plugin for haxe-completion

2009-07-04 Thread Andreas Mokros
Hi. On Mon, 29 Jun 2009 23:53:26 +0200 Enrico Tröger wrote: > For general SVN write access, just tell me your Sourceforge username, > then I add you to project. Username is: mockey. But no need to hurry. I want to do some more testing (especially on Windows) before I commit something. > It depe

Re: [Geany-devel] Plugin for haxe-completion

2009-06-29 Thread Enrico Tröger
On Sun, 28 Jun 2009 19:17:08 +0200, Andreas wrote: >Hi. > >On Sun, 28 Jun 2009 11:07:49 +0200 >Enrico Tröger wrote: >> And still you can choose whether you want to have it as part of the >> geany-plugins project with its advantages like no need to maintain an >> own build system and getting trans

Re: [Geany-devel] Plugin for haxe-completion

2009-06-28 Thread Andreas Mokros
Hi. On Sun, 28 Jun 2009 11:07:49 +0200 Enrico Tröger wrote: > And still you can choose whether you want to have it as part of the > geany-plugins project with its advantages like no need to maintain an > own build system and getting translations and releases for free (i.e. > you don't need to man

Re: [Geany-devel] Plugin for haxe-completion

2009-06-28 Thread Andreas Mokros
Hi. On Sun, 28 Jun 2009 11:40:35 +1000 Lex Trotman wrote: > The build-system upgrade is making the build menu fully configurable > from projects and/or preferences overriding the defaults, allowing > both menu item labels and commands to be configured. I'm not sure if > this will help you, altho

Re: [Geany-devel] Plugin for haxe-completion

2009-06-28 Thread Enrico Tröger
On Sat, 27 Jun 2009 17:01:40 +0200, Andreas wrote: Hey Mockey, >I started to write a plugin for auto-completion of haxe-code. The Cool. >Now I have a couple of questions: >- Would it make sense to add it to the geany-plugins repository > (because it's very language-specific)? Why not. If use

Re: [Geany-devel] Plugin for haxe-completion

2009-06-27 Thread Lex Trotman
2009/6/28 Andreas Mokros > Hi. > > I started to write a plugin for auto-completion of haxe-code. The > Haxe compiler has a feature that it compiles up to a certain point > in a file and then spits out a list of possible classes and types > for the file at that point, see here: > http://ncannasse.

[Geany-devel] Plugin for haxe-completion

2009-06-27 Thread Andreas Mokros
Hi. I started to write a plugin for auto-completion of haxe-code. The Haxe compiler has a feature that it compiles up to a certain point in a file and then spits out a list of possible classes and types for the file at that point, see here: http://ncannasse.fr/blog/haxe_completion There once was a