ninja-ide/ninja-ide — pull request #70 by barongello (2011-11-21 12:29:39+00:00)
Title: Editor issue with new empty file

Not happen in not empty windows, neither in empty windows that had text before.

Error:

Traceback (most recent call last):
File "/home/wagner/Aplicações/ninja-ide/ninja_ide/gui/editor/editor.py", line 677, in mouseReleaseEvent
self.highlight_selected_word()
File "/home/wagner/Aplicações/ninja-ide/ninja_ide/gui/editor/editor.py", line 893, in highlight_selected_word
self.setExtraSelections(self.extraSelections)
TypeError: QPlainTextEdit.setExtraSelections(list-of-QTextEdit.ExtraSelection): argument 1 has unexpected type 'builtin_function_or_method'

Signed-off-by: Wagner Barongello