Hi everybody! I think we're almost done with the changes. I uploaded some files. I tried to break up the changes in steps, so that they can be looked and committed separately.
First, the revised DirectorExtension. http://nico.esoxprojects.net/scite/director.zip Basically the only change since the last version sent to the mailing list is that you can now call register: with a "correspondant" field as well, that is, sending ":filepath:register:", where filepath is a file you created and to which SciTE will write the name of the pipe you can listen to (instead of using /tmp/SciTE.register). Second, the changes to the single-instance handling. Note that this requires the changes to the director interface. http://nico.esoxprojects.net/scite/single-instance.diff Third and last, my proposal for an implementation of the "focus:" message. http://nico.esoxprojects.net/scite/focus.zip This is completely new, and I'm unsure about the way I did things, so please look at it closely. This required some little changes to the code common to both platforms, but I don't have a compiler for Windows, which means I'm not sure it compiles. It should, however. The other problem was that I had to get the timestamp from the DESKTOP_STARTUP_ID environment variable before gtk_init(), and was unsure how to pass that cleanly to SciTEGTK. The next thing on the todo list is closing any open dialogs in QuitProgram(). Nicolas _______________________________________________ Scite-interest mailing list [email protected] http://mailman.lyra.org/mailman/listinfo/scite-interest
