[oXygen-user] pasting javascript

Robert Koberg
Wed May 16 05:45:09 CDT 2007


Hi,

Great job on the new release!

I was wondering/hoping there is a feature in oXygen that allows me to
keep using the format on paste for XML, but have a way to turn it off
for pasting something like javascript, velocity or similar script. I
have tried putting the elements in the preferences for the 'Preserve
Space', but whenever I paste the script loses its formatting and lines
up at the first tab stop.

For example create a new XHTML doc from the templates. Add a script
element and paste the following:

  if (true) {
    alert('boo');
  }

Any way to set this up?

best,
-Rob




More information about the oXygen-user mailing list