[Github-comments] [geany/geany] Geany's context again (#1836)

aplsimple notifications at xxxxx
Sun Apr 22 05:34:36 UTC 2018


As for Geany code, I'd tried it closer. The following corrections introduce  %f, %d and other Run's wildcards in the context string:

**build.h**

    gchar *build_replace_placeholder(const GeanyDocument *doc, const gchar *src);

**build.c**

    GEANY_API_SYMBOL
    gchar *build_replace_placeholder(const GeanyDocument *doc, const gchar *src)

**callbacks.c**

    gchar *command_line = g_strdup(command);
    command_line = build_replace_placeholder(doc, command_line); //apl
    utils_str_replace_all(&command_line, "%s", word);

But it does not resolve the whole issue.


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1836#issuecomment-383356844
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20180421/82526eea/attachment.html>


More information about the Github-comments mailing list