[geany/geany] 4fb962: Detect HTML embedded filetypes from the current li...
matt at xxxxx
Thu Oct 13 06:50:42 UTC 2011
Author: Matthew Brush <matt at geany.org>
Date: 2011-10-12 (Wed, 12 Oct 2011)
Detect HTML embedded filetypes from the current line
When using the commenting features (ex. toggle line commentation),
detect the the type of comments for the filetype of the line with
the caret rather than using the filetype of the current document.
Filetype is determined by the Scintilla state/style at the
beginning of the line where the caret is.
This does not fix the existing bug where using the commenting
features on lines with things like `<script>` will result in an
HTML-style comment to be wrapped around it and also where using
the commenting feature on a line with something like `<?php`
will not only wrap it in an HTML-style comment but it also won't
be able to uncomment the line.
This closes bug ID 2863829 and 3127598.
More information about the Commits