When commenting lines of code inside a script tag, the comment is incorrect.
Geany uses the html comment syntax, but instead it should use the javascript one /* comment */ or //
I'm having the same issue. I just built geany from git (geany 0.21 (built on Sep 15 2011 with GTK 2.24.4, GLib 2.28.6)) if I hit ctrl+e inside a script tag I get results similar to this:
<script>
(function() {
<!--
console.log('this is a test');
-->
});
</script>
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Works for me, javascript comments are colored red.
I'm having the same issue. I just built geany from git (geany 0.21 (built on Sep 15 2011 with GTK 2.24.4, GLib 2.28.6)) if I hit ctrl+e inside a script tag I get results similar to this:
<script>
(function() {
<!--
console.log('this is a test');
-->
});
</script>
I posted a patch to fix this bug:
https://sourceforge.net/tracker/?func=detail&atid=787793&aid=3411092&group_id=153444
This is fixed in commit 4fb9629f5b[1].
[1] https://github.com/geany/geany/commit/4fb9629f5bdc62b6348ca18ec4e0b3b0f46d7626