[oXygen-user] pasting javascript
Sorin Ristache
Wed May 16 10:02:17 CDT 2007
Hello,
Putting the elements in the Preserve Space Elements list should be
enough for keeping the indentation inside these elements but I see that
it does not work. I will file a bug report with the problem.
Regards,
Sorin
Robert Koberg wrote:
> 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
>
> _______________________________________________
> oXygen-user mailing list
>
> http://www.oxygenxml.com/mailman/listinfo/oxygen-user
More information about the oXygen-user
mailing list