<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body smarttemplateinserted="true" bgcolor="#FFFFFF" text="#000000">
    <div id="smartTemplate4-quoteHeader">Hi Colomban,<br>
      <br>
      thanks for your reply!<br>
      I'm using version 0.20 at the moment, so that doesn't work (didn't
      even know that it's so outdated). I've got an old openSUSE
      version, so there is no newer version of geany in the repositories
      at the moment, but I'll update my system soon and then try your
      solution :-) Until then I'll just use a workaround with snippets.<br>
      <br>
      Yes, after I sent the mail, I realized that the "[styling]" thing
      was rubbish.<br>
      <br>
      About the indentation: everything in the fileheader is indented
      with 6 whitespaces like this:<br>
      <br>
      /*<br>
       *      main.cpp<br>
       *      <br>
       *      [license etc.]<br>
       *      <br>
       */<br>
      <br>
      Kind regards, <br>
      Johannes<br>
      <br>
      <br>
      <font size="2">
        ------------ <i>Original-Nachricht</i> ------------ <br>
        <b>Betreff:</b> Re: [Geany-Users] fileheader comment-type <br>
        <b>Von:</b> Colomban Wendling <a class="moz-txt-link-rfc2396E" href="mailto:lists.ban@herbesfolles.org"><lists.ban@herbesfolles.org></a>
        <br>
        <b>An:</b> <a class="moz-txt-link-abbreviated" href="mailto:users@lists.geany.org">users@lists.geany.org</a> <br>
        <b>Datum:</b> Wed, 07 Aug 2013 15:05:14 +0200 <br>
      </font></div>
    <blockquote cite="mid:5202460A.3030800@herbesfolles.org" type="cite">
      <pre wrap="">Hi Johannes,

Le 07/08/2013 14:41, Johannes Lange a écrit :
</pre>
      <blockquote type="cite">
        <pre wrap="">Hey geany users,

I'm trying to change the the fileheader for C++ files to multiline
comments (/* ... */) instead of (//).

What I've tried so far is to edit "filetypes.cpp" and set:
comment_open=/*
comment_close=*/

This works fine but affects my "toggle-comment" which is not what I want.
</pre>
      </blockquote>
      <pre wrap="">
You should have also a "comment_single" setting, which for C++ should be
set to "//", and it should then normally work like you want.  BTW, this
is the default, at least for Geany 1.23.  Which version do you use?

Checking the log tells me the separate single-line comment support was
added in 0.21, but that a bug leading to use single-line comments for
multiline blocks was fixed in 1.23.

</pre>
      <blockquote type="cite">
        <pre wrap="">In the "[styling]" section there are options:
comment=comment
commentline=comment

but I don't know if they can help with my problem and did not find
something about it in the documentation.
It would be nice if someone knew a solution to this.
</pre>
      </blockquote>
      <pre wrap="">
This has nothing to do with your issue, it's only used to chose the
coloring for syntax highlighting.

</pre>
      <blockquote type="cite">
        <pre wrap="">A second question (but not that urgend) would be how to remove the
indentation in the fileheader.
</pre>
      </blockquote>
      <pre wrap="">
Which indentation?


Cheers,
Colomban
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.geany.org">Users@lists.geany.org</a>
<a class="moz-txt-link-freetext" href="https://lists.geany.org/cgi-bin/mailman/listinfo/users">https://lists.geany.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
    <br>
    <div id="smartTemplate4-template"><font face="monospace"> </font></div>
  </body>
</html>