Revision 8c22f2f...

Go back to digest for 2nd December 2012

Features in Development Tools

Aleix Pol Gonzalez committed changes in [kdevplatform] /:

Delay initialization of TextEditorWidget

This patch reduces the initialization of the loading a text document view
by delaying the initialization.
This is useful because when we change areas we close all the opened views
and then we reopen the new ones. The loading of document views was one of
the most expensive calls that happened there. This is now delayed to the
event loop so the view creation now is trivial by creating only an empty
widget that will be instantiated afterwards.

I'm not closing the bug for the moment, but it would be interesting to know
how it went, so feedback is welcome!

File Changes

Modified 2 files
  •   shell/textdocument.cpp
  •   shell/textdocument.h
2 files changed in total