Give a warning and return fals on isTextDocument if the text-document is not…

Authored by zwabel on Mar 3 2012, 11:21 AM.

Description

Give a warning and return fals on isTextDocument if the text-document is not properly initialized.

Otherwise it may crash on code which relies on isTextDocument() == (bool)textDocument().
No clue why this actually happens.

Details

Committed
zwabelMar 3 2012, 11:21 AM
Parents
R32:c26e58c538a6: Translate session picker
Branches
Unknown
Tags
Unknown