From: Bernard D. <bde...@us...> - 2018-12-21 12:30:23
|
- **status**: fixed --> closed - **Version**: 9.0.1 --> 9.0.2 --- ** [tickets:#200] xml::electricClosingAngleBracket : two issues** **Status:** closed **Created:** Mon Nov 19, 2018 08:57 AM UTC by Sylvain Loiseau **Last Updated:** Mon Dec 10, 2018 03:18 PM UTC **Owner:** nobody In XML mode, xml::electricClosingAngleBracket offers to insert the end-tag of an XML element while typing the closing ">" of the start-tag. I have noted two issues: - with prefixed element name (QName), for instance "xsl:param", only "xsl" is inserted in the end tag. It is due to the regexp used for matching the start tag: `regexp -- {[\w]+} $tag tag` l. 511 of Modes/XML Modes/xmlMode.tcl I think it could be turned into: `regexp -- {[\w]*:?[\w]+} $tag tag` - second ; when typing a start-tag at the very end of a document (the cursor is at the last position), the closing tag is not inserted. I havn't been able to trace the issue. It may be a common situation to enter the root element of a document and to expect it to be closed also. Best, Sylvain --- Sent from sourceforge.net because alp...@li... is subscribed to https://sourceforge.net/p/alphacocoa/tickets/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/alphacocoa/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |