indent on past problem
Posted: Thu Feb 23, 2006 5:12 pm
Hello there.
Just noticed a small problem (bug?) with the indent on past option, which is slightly annoying when editing my javascript nodes.
When editing the following example template, with 'indent on paste' turned ON. pasting anything in the function body will cause the line to be indented under the brace, rather than where I want it. This is annoying when pasting new line, and very annoying when pasting within an existing line.
Thanks
Just noticed a small problem (bug?) with the indent on past option, which is slightly annoying when editing my javascript nodes.
When editing the following example template, with 'indent on paste' turned ON. pasting anything in the function body will cause the line to be indented under the brace, rather than where I want it. This is annoying when pasting new line, and very annoying when pasting within an existing line.
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="xml" omit-xml-declaration="no" encoding="UTF-8"/>
<xsl:template match="/">
<script xmlns="" language="javascript" type="text/javascript" xml:space="preserve">
function handle_onload()
{
// I want to be indented here...
// but if I past anything the indent goes under the opeining brace
// This is where oxygen indent what I paste :-(
}
</script>
</xsl:template>
</xsl:stylesheet>