Posted 13 years ago
by Kasper Tanggaard
Version: 11.2.0552
Platform: .NET 4.0
Environment: Windows 7 (32-bit)
Hi,
When using the CommentLines edit action, it seems that it uses the comment implementation of the Document.Language, without respecting a potential child language. So for instance, when i have an HTML file with inline JavaScript, the it uses the commenter for HTML, even though only JavaScript lines are selected. The action is also only enabled if there is a LineCommenter registered for the HTML language, when it probably should look at the child syntax language, I think :)
When using the CommentLines edit action, it seems that it uses the comment implementation of the Document.Language, without respecting a potential child language. So for instance, when i have an HTML file with inline JavaScript, the it uses the commenter for HTML, even though only JavaScript lines are selected. The action is also only enabled if there is a LineCommenter registered for the HTML language, when it probably should look at the child syntax language, I think :)