No, it's not only jEdit. I'm copy/pasting Groovy on Grails code from
NetBeans 6.7.1 into gmail and facing the same issue.

If I try to paste this into gmail directly, FF dies silently. If I use gedit as 
an intermediary, it lives. 
class RacetrackTagLib {
    def formatDate = { attrs ->
        def date = attrs.get('date')

        if(!date){
            date = new Date()
        }

        def format = attrs.get('format')
        if(!format)
        {
            format = "yyyy-MM-dd HH:mm:ss z"
        }

        out << new java.text.SimpleDateFormat(format).parse(date, new 
java.text.ParsePosition(0))
    }

    def formatNumber = { attrs ->
        def number = attrs.get('number')
        if(!number)
        {
            number = new Double(0)
        }

        def format = attrs.get('format')
        if(!format)
        {
            format = "0"
        }

        out << new
java.text.DecimalFormat(format).format(Double.parseDouble(number))

    }
}

-- 
Firefox crashes if pasting text into Gmail while composing an email.
https://bugs.launchpad.net/bugs/411907
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to