Hi,
On Dec 28, 2007 7:05 PM, Thorsten Haude <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Ok, someone is standing on my tube (to get back with the anglicism a
> bit), but I don' get the last hunk:
> - - - Schnipp - - -
> @@ -777,8 +773,7 @@ int main(int argc, char **argv)
>
> /* If no file to edit was specified, open a window to edit "Untitled" */
> if (!fileSpecified) {
> - EditNewFile(NULL, geometry, iconic, langMode, NULL);
> - ReadMacroInitFile(WindowList);
> + CloseWindow(dummy_untitled);
> CheckCloseDim();
> if (toDoCommand != NULL)
> DoMacro(WindowList, toDoCommand, "-do macro");
> - - - Schnapp - - -
>
> Why don't you want the Untitled to be opened?
Don't know. And I must admit that I don't use the file_open_hook, for
what this was for.
>
>
> Anyway, I do think it's rather a hack, forced by NEdit's insistence to
> run macros in a window. Pending the point above I would like to
> include it in the Collection with a proper warning, if you don't mind.
Go ahead.
Bert
>
>
> Thorsten Melissa Ferrick: The other Side
--
NEdit Develop mailing list - [email protected]
http://www.nedit.org/mailman/listinfo/develop