<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#003333" bgcolor="#FFFFFF">
<font face="Times New Roman, Times, serif">Thank you for the advice,
it is clear with comment tags.<br>
In development of the discussion it would be great to have
possibility to place around selection any unsymmetrical structure
like <div class=''>...</div> i.e. possibility to
assign to hot key open tag and close tag separately. And good if
it could be also assigned to an icon as well as to hot key and
placed on special instrument panel.<br>
I test the Geany for a month and I can say it is really great
project. Many thanks to authors and developers!<br>
</font>
<pre class="moz-signature" cols="72">BR
Vladimir Avshtolis</pre>
<div class="moz-cite-prefix">02.02.2018 11:43, Jérôme Andanson
пишет:<br>
</div>
<blockquote type="cite"
cite="mid:f5a2d2b7-83d5-a7fc-fed7-813a0718bbb5@laposte.net">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<div class="moz-cite-prefix">Le 31/01/2018 à 13:10, Vladimir
Avshtolis via Users a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:47ccacbf-3aac-1b4a-2927-401140582b13@mail.ru">
<meta http-equiv="Content-Type" content="text/html;
charset=utf-8">
<font face="Times New Roman, Times, serif">Lex,<br>
Often I need to place /*..*/ or html <!--- ... --->
around selection.<br>
Addons plugin allow to define one letter only in beginning and
in the end and finally doesn't work - just insert empty space
before and after selection.<br>
May be I do something wrong?<br>
Regards<br>
</font>
<pre class="moz-signature" cols="72">BR
Vladimir Avshtolis</pre>
</blockquote>
Hello,<br>
<br>
In a html file, use of [CTRL]+[e], nicely add/remove <!--
--> around selection ! as you want !<br>
But for php file only single line comment works '//' <br>
I don't understand how it works, maybe cause of mixed language use
html/js/php, they share some functionnality.<br>
<br>
In documentation [1] it is written you can specify comment_open
and comment_close in filetypes.php, so i try as follow :<br>
comment_open=/*<br>
comment_close=*/<br>
<br>
Don't work :(, it is still single line comment '//'<br>
So, I add a line with blank value for comment_single, as follow :<br>
comment_single=<br>
After reloading configuration, commenting a block, in a php file,
will append html/xml style comment (<!-- -->) and removing
it with keybinding not working, changing comment_open and
comment_close in filetypes.html with :<br>
comment_open=/*<br>
comment_close=*/<br>
Works for php file, but the problem is now with html file comment,
it will use /* and */ and can't remove it with keybinding :(<br>
<br>
So, is it possible to use comment bloc with php and html filetype
in the same time ?<br>
<br>
Jérôme<br>
<br>
<br>
[1] <a class="moz-txt-link-freetext"
href="https://www.geany.org/manual/dev/#filetype-configuration"
moz-do-not-send="true">https://www.geany.org/manual/dev/#filetype-configuration</a>
</blockquote>
<br>
</body>
</html>