fixed: XmlDoc auto generation does not work if the line contains trailing whitespaces beyond the caret position