Re: [scite] SciTE 1.74 €

2007-07-01 Thread Axel Huizinga
Neil Hodgson schrieb: Axel Huizinga: after updating to 1.74 on my linux 64 bit box Scite type EUR instead of €. Can I change this behaviour? What locale settings are you using? Often people use ISO-8859-1 which does not include € but it should be OK in UTF-8. You can try character.set

Re: Re: Re: [scite] Single instance and Director Extension in SciTEGTK

2007-07-01 Thread Chachereau Nicolas
Here's a patch making the single instance handling use the director interface. The patch assumes that the patch about exit functions has already been applied. The new behaviour is the following: It tries to find a pipe in the current temporary directory (ie usually /tmp) to communicate with an

Re: [scite] Embedding Python

2007-07-01 Thread Neil Hodgson
Benjamin Fisher: I'm not sure of the scope of this project but I know it will be not be quick. I guess my question is how impossible this is :), and how to start. Is anyone else interested in this or willing to help? I doubt it would take much effort. SciTE communicates with each extension t

Re: [scite] File type patterns like Makefile* do not work

2007-07-01 Thread Neil Hodgson
Alexander Kriegisch: Could you point me to the place inthe source code where the globbing is done and also to the place where it is called for 'file.patterns.foo'? Maybe I can hack it for myself with my extremely limited C/C++ abilities. I would also provide a patch to the mailing list which som

Re: [scite] SciTE 1.74 €

2007-07-01 Thread Neil Hodgson
Axel Huizinga: after updating to 1.74 on my linux 64 bit box Scite type EUR instead of €. Can I change this behaviour? What locale settings are you using? Often people use ISO-8859-1 which does not include € but it should be OK in UTF-8. You can try character.set=1000 for ISO-8859-15 but

Re: [scite] Invalid free() in src/SciTEBuffers.cxx

2007-07-01 Thread Neil Hodgson
Chachereau Nicolas: This is the patch, we just need to initialise stack in the class BufferList in SciTEBuffers.cxx: OK, committed. Neil ___ Scite-interest mailing list Scite-interest@lyra.org http://mailman.lyra.org/mailman/listinfo/scite-inter

[scite] Invalid free() in src/SciTEBuffers.cxx

2007-07-01 Thread Chachereau Nicolas
Hi everybody, while working on the single instance code, I encountered the following error when the second instance exited: *** glibc detected *** free(): invalid pointer: *** I investigated the problem using valgrind (just discovered this tool... powerful), which told me the exact place in the

[scite] Re: Embedding Python

2007-07-01 Thread Richard Baker
You might want to investigate "Lunatic Python"... http://labix.org/lunatic-python - Introduction Lunatic Python is a two-way bridge between Python and Lua, allowing these languages to intercommunicate. Being two-way means that it allows Lua inside Python, Python inside Lua, Lua insid

Re: Re: Re: Re: [scite] Single instance and Director Extension in SciTEGTK

2007-07-01 Thread Roy Wood
That's the next thing on my todo list, and I already have some pointers. Basically we need to call gtk_window_present() but there is some stuff with timestamps - to ensure the window gets fronted unless it's annoying for the user - that I've got to research. What would the message be called? I'd p

Re: Re: Re: Re: [scite] Single instance and Director Extension in SciTEGTK

2007-07-01 Thread Chachereau Nicolas
Roy Wood wrote: >I'm the author of scitepm, so thanks for the nice words. :-) > >I'm very happy to modify scitepm to work with whatever IPC strategy >you guys want to set up in scite. The code in scitepm is very clean, >and implementing the required changes would be a snap. Just let me >know wha

Re: Re: Re: [scite] Single instance and Director Extension in SciTEGTK

2007-07-01 Thread Roy Wood
BTW, scitepm actually drives SciTE pretty smartly. It makes up its own unique pipes, and passes the ipc properties in the environment to its own SciTE instance. So there is no problem with multiple scitepm instances. The new interface extensions can coexist quite happily. I'm the author of sci

Re: Re: Re: Re: [scite] Single instance and Director Extension in SciTEGTK

2007-07-01 Thread Chachereau Nicolas
Steve Donovan wrote: >That's what I think - named pipes are so easy, you don't need a higher >degree or special equipment ;) Although controlling a remote instance >of SciTE might be entertaining, it wouldn't be high on most people's >list of piorities. But, it's true, pipes are global. I was th

Re: Re: Re: [scite] Single instance and Director Extension in SciTEGTK

2007-07-01 Thread steve donovan
On 6/30/07, Chachereau Nicolas <[EMAIL PROTECTED]> wrote: I'll take a serious look at that. As I wrote in an email that mysteriously disappeared, I'm not sure I like having potentially so many pipes open. That's what I was referring to when saying that I would tend to using local sockets. However

[scite] SciTE 1.74 €

2007-07-01 Thread Axel Huizinga
Hi, after updating to 1.74 on my linux 64 bit box Scite type EUR instead of €. Can I change this behaviour? Axel ___ Scite-interest mailing list Scite-interest@lyra.org http://mailman.lyra.org/mailman/listinfo/scite-interest