<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<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">https://www.geany.org/manual/dev/#filetype-configuration</a>
</body>
</html>