'Paste windows clipboard.
Assume single line strip other lines and end of line markers and trailing spaces'

def paste(self, e):

    if self.enable_win32_clipboard:
        txt = clipboard.get_clipboard_text_and_convert(False)
        txt = txt.split('\n')[0].strip('\r').strip('\n')
        log(('paste:    >%s<' % map(ord, txt)))
        self.insert_text(txt)
