Hello!
I'm evaluating Geany to replace present modest usage of (G)Vim for our upcoming D project and some PHP (possibly some Python) coding.
Yesterday I saw a video aboout new version of Bluefish and its context-sensitive (un)commenting and see that Geany is lacking here...
Let's say we have simple *.html file with the following snippet:
{{extend 'layout.html'}} <script><!-- jQuery(document).ready(function(){ jQuery("table.sortable tbody tr").mouseover( function() { jQuery(this).addClass("highlight"); }).mouseout( function() { jQuery(this).removeClass("highlight"); }); jQuery('table.sortable tbody tr:odd').addClass('odd'); jQuery('table.sortable tbody tr:even').addClass('even'); }); //--></script>
(it's simple view from web2py project)
If I select part of the
jQuery(document).ready(function(){
line and select format --> comment, I get:
<!-- jQuery(document).ready(function(){ -->
The main problem appears if I want to uncomment this line, iow selecting part of the
jQuery(document).ready(function(){
line does not remove comment around line?
Is it due the fact that Geany does not recognize there could be different styles of comments within single file which is very prominent in *.html files combining HTML/CSS/JS ?
Sincerely, Gour
On Mon, Nov 28, 2011 at 9:03 PM, Gour gour@atmarama.net wrote:
Hello!
I'm evaluating Geany to replace present modest usage of (G)Vim for our upcoming D project and some PHP (possibly some Python) coding.
Yesterday I saw a video aboout new version of Bluefish and its context-sensitive (un)commenting and see that Geany is lacking here...
Let's say we have simple *.html file with the following snippet:
{{extend 'layout.html'}}
<script><!-- jQuery(document).ready(function(){ jQuery("table.sortable tbody tr").mouseover( function() { jQuery(this).addClass("highlight"); }).mouseout( function() { jQuery(this).removeClass("highlight"); }); jQuery('table.sortable tbody tr:odd').addClass('odd'); jQuery('table.sortable tbody tr:even').addClass('even'); }); //--></script>
(it's simple view from web2py project)
If I select part of the
jQuery(document).ready(function(){
line and select format --> comment, I get:
<!-- jQuery(document).ready(function(){ -->
For me it correctly gives the javascript // comment, what filetype is Geany using (see in the status bar)?
Cheers Lex
On Mon, 28 Nov 2011 21:47:55 +1100 Lex Trotman elextr@gmail.com wrote:
For me it correctly gives the javascript // comment, what filetype is Geany using (see in the status bar)?
HTML
Sincerely, Gour
Hi,
Le 28/11/2011 12:52, Gour a écrit :
On Mon, 28 Nov 2011 21:47:55 +1100 Lex Trotman elextr@gmail.com wrote:
For me it correctly gives the javascript // comment, what filetype is Geany using (see in the status bar)?
HTML
It works for me too, but it was fixed post-0.21 by Matthew, so only present in Git (relevant commit is 4fb9629f5bdc62b6348ca18ec4e0b3b0f46d7626).
Regards, Colomban
On Mon, 28 Nov 2011 14:06:04 +0100 Colomban Wendling lists.ban@herbesfolles.org wrote:
It works for me too, but it was fixed post-0.21 by Matthew, so only present in Git (relevant commit is 4fb9629f5bdc62b6348ca18ec4e0b3b0f46d7626).
Thank you. Installing geany-trunk fixes it. ;)
Sincerely, Gour