- Jul 17, 2013
-
-
Eike Ziller authored
They are duplicated from TextDocument::(set)codec. The default implementation of the duplicated methods was just delegating to the text document. The override of setTextCodec in QmlJsEditor was useless, since it was only called from EditorConfiguration::configureEditor with the ITextEditor::TextCodecFromProjectSetting flag anyhow, which made the overridden method in QmlJsEditor be the same as the fallback. Aside from that, the duplicated methods wouldn't have belonged to the *editor* anyhow, but to the document. Change-Id: Ib43c28210b6bf88726159d751a4905a1d062f80e Reviewed-by:
Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by:
Eike Ziller <eike.ziller@digia.com>
-
Eike Ziller authored
The method is for setting the contents, so it belongs to the document, and should be named correspondingly. Change-Id: I40363dc08f11268f530885b512e4a88e8b10d096 Reviewed-by:
Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by:
Eike Ziller <eike.ziller@digia.com>
-
- Jul 16, 2013
-
-
Marco Bubke authored
Change-Id: If149ddb26e0e9852b6970ecac6f535499ea7b3af Reviewed-by:
Thomas Hartmann <Thomas.Hartmann@digia.com>
-
Marco Bubke authored
Change-Id: Ifb00ad28dc72d4876b9dffbad70b18d6ada07004 Reviewed-by:
Thomas Hartmann <Thomas.Hartmann@digia.com>
-
Friedemann Kleint authored
Change-Id: Iad4455ba80f374968e16d5d4eeb256a7b6883552 Reviewed-by:
Robert Loehning <robert.loehning@digia.com> Reviewed-by:
Eike Ziller <eike.ziller@digia.com>
-
Eike Ziller authored
Since EditorManager::openedEditors doesn't exactly do what one would expect, it was only marking a single editor even if there were multiple editors on the same document. Change-Id: Iae579c2cfd8455de2783d39fa69944fe92dfc60a Reviewed-by:
Aurindam Jana <aurindam.jana@digia.com>
-
Friedemann Kleint authored
Change-Id: I604cdbd2abfd45105502e19d80f102df1017f4c5 Reviewed-by:
Marco Bubke <marco.bubke@digia.com>
-
Thomas Hartmann authored
Change-Id: I7cd020b35b95300007e9ec9c7a3bd41a59481f88 Reviewed-by:
Marco Bubke <marco.bubke@digia.com>
-
Thomas Hartmann authored
Change-Id: I20e2002c7b2ccc25d8120222fa9b52e59db498ee Reviewed-by:
Marco Bubke <marco.bubke@digia.com>
-
Thomas Hartmann authored
Change-Id: Ib71117cb5726662b4212f99a7c4136005273ae66 Reviewed-by:
Marco Bubke <marco.bubke@digia.com>
-
Thomas Hartmann authored
This StackedWidget is a leftover from the stand alone version. In the context of Qt Creator this makes no sense anymore. Change-Id: I6660dd4b43bdc12fa3329d333158fa759bee4d88 Reviewed-by:
Marco Bubke <marco.bubke@digia.com>
-
Thomas Hartmann authored
No TextModifer might be attached. Change-Id: Ia06a1844ebf10392de1edb8cdb25d70bfa31e14d Reviewed-by:
Marco Bubke <marco.bubke@digia.com>
-
Thomas Hartmann authored
We have a one to one relationship between models and TextModifiers. With this patch the model keeps track of its own TextModifer and does set it to the rewriter if attached. The model does not take ownership, since it does also not take ownership of its views. Change-Id: Ied02666debf6aad76666b0d9d22e8ba2f72be666 Reviewed-by:
Marco Bubke <marco.bubke@digia.com>
-
Thomas Hartmann authored
We remove m_currentModel and replace it by currentModel(). If m_inFileComponentModel is nil the current model is the document model, otherwise the current model is the inFileComponentModel. No need to keep m_currentModel around explicitly. Change-Id: I590e02dc03c2319cbf713b880cf43d740d64e942 Reviewed-by:
Marco Bubke <marco.bubke@digia.com>
-
Eike Ziller authored
Crash introduced with recent refactoring 113c5600 Use the IDocument::filePathChanged signal (instead of changed() which also fires when modification flag changes) to detect that a ui file might be in a different project or no project now, and available resource files changed. Task-number: QTCREATORBUG-9813 Change-Id: I9b9e26be916ffe7bbf3ab49d934d0e4c111e48df Reviewed-by:
Friedemann Kleint <Friedemann.Kleint@digia.com>
-
Eike Ziller authored
Instead of keeping a separate plain text editor and document, the FormWindowEditor and FormWindowFile are directly derived from PlainTextEditor and BaseTextDocument respectively. Change-Id: I4319904dea769ec31900061bc7c3a3c5c22e0e8a Reviewed-by:
Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by:
Eike Ziller <eike.ziller@digia.com>
-
Friedemann Kleint authored
Change-Id: I8ec555982b9b8b6f30e32e20307c7c440b07a2a8 Reviewed-by:
Eike Ziller <eike.ziller@digia.com>
-
Nikolai Kosjar authored
...in order to better tell apart the type related functions isScope()/asScope() and the functions dealing with enclosing scopes: * scope() --> enclosingScope() * setScope() --> setEnclosingScope() * resetScope() --> resetEnclosingScope() Change-Id: Id743a7d1b6a1a1a0ffcd8568cbd8ebbdfc16eaa1 Reviewed-by:
Fawzi Mohamed <fawzi.mohamed@digia.com>
-
- Jul 15, 2013
-
-
Eike Ziller authored
No use trying to hide it. Change-Id: Id81fdf1eef704dec6d4e83ee69bec10b1244b202 Reviewed-by:
Orgad Shaneh <orgads@gmail.com>
-
Friedemann Kleint authored
- Do concatenate message pieces that may not fit grammatically. - Common message for "Cannot launch". - Add period marker. Change-Id: Ic67b27e30143febebc9153a3cefe523ebfd4bc49 Reviewed-by:
Orgad Shaneh <orgads@gmail.com>
-
Eike Ziller authored
Change-Id: If3ab9414270df33fb6b0e269b628813e4c71e5c8 Reviewed-by:
Eike Ziller <eike.ziller@digia.com>
-
- Jul 12, 2013
-
-
Orgad Shaneh authored
Change-Id: Ib4f1d7ead2c40f27be28fa45e042c3694c0444fd Reviewed-by:
Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by:
Petar Perisin <petar.perisin@gmail.com>
-
Eike Ziller authored
It's a property of the document implementation, not of the specific editor instance working on it. Change-Id: I5c3dd054e21b646e2d94b891916a096d045923f8 Reviewed-by:
hjk <hjk121@nokiamail.com> Reviewed-by:
Eike Ziller <eike.ziller@digia.com>
-
Przemyslaw Gorszkowski authored
It fixes code model when we have local type which contains a member of other type, e.g.: struct OtherType { int otherTypeMember; }; void foo() { struct LocalType { int localTypeMember; OtherType ot; }; LocalType lt; lt.ot.//no code completion } Change-Id: I018f492a6c48bfcbba0ef376ef005825e2b13f35 Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
Eike Ziller authored
Change-Id: I27964a585996f9838a87856fd68067ce29ce755a Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
Christian Kandeler authored
Was broken by 81eba6f9. Change-Id: If85dda7384ecfb174cc8388e919336ea34c1c41a Reviewed-by:
Tobias Hunger <tobias.hunger@digia.com>
-
hjk authored
This searches the last 'bb' command and triggers a re-run with the 'pe' option added. Change-Id: Icbe251c9f8980f3bcd0ba10171ec39f0fb02c2f4 Reviewed-by:
hjk <hjk121@nokiamail.com>
-
Przemyslaw Gorszkowski authored
support for lambdas, e.g.: struct S { int bar; }; []() { return new S; } ()->bar; [] { return new S; } ()->bar; []() ->S* { return new S(); } ()->bar; []() throw() { return new S(); } ()->bar; []() throw()->S* { return new S(); } ()->bar; Task-number: QTCREATORBUG-9523 Change-Id: I43fbf6f0ee0bb11411c53c984df75ef33a276466 Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
Thomas Hartmann authored
The "All Templates" case in the comobox did not work as expected from users. It still did only show wizards we have a kit installed for and it was not available for the case of one platform. The semantics for "All Templates" were actually "All available Platforms". This was confusing especially in the case of no platform. Now "All Templates" does show all templates, but the wizard give an error message, if no corresponding kit is available. Task-number: QTCREATORBUG-9792 Change-Id: Ia83a0577bde7e726b2638868bcaffbe13499f2f7 Reviewed-by:
Eike Ziller <eike.ziller@digia.com>
-
Erik Verbruggen authored
Showed up in valgrind as a leak, when QML debugging was not used. Change-Id: I8e378795727f0e2f297086ae73dab99b6a28de32 Reviewed-by:
hjk <hjk121@nokiamail.com>
-
Eike Ziller authored
Change-Id: I329417ce61b71f3bf080c5a76c41c69acda2cb94 Reviewed-by:
Eike Ziller <eike.ziller@digia.com>
-
Eike Ziller authored
Work on documents instead. Change-Id: I7000d10b2a885d5dc22c9b40377c9521f21b6195 Reviewed-by:
Tobias Hunger <tobias.hunger@digia.com>
-
Eike Ziller authored
And where using editors is necessary, take *all* editors into account, not a random set of what previously was called "original" editors (when using splits). Change-Id: Id6bbad08f3083b6744fc2edcf0b87ba504d3257b Reviewed-by:
hjk <hjk121@nokiamail.com>
-
Eike Ziller authored
Change-Id: Ibcb863e67a2433529c9d2b6dec237f9d8b1d8d50 Reviewed-by:
Eike Ziller <eike.ziller@digia.com>
-
Eike Ziller authored
Rename OpenEditorsModel to DocumentModel. In the DocumentModel also make the distinction between "restored" document (i.e. just info about file name, display name, id), "opened document" (i.e. document with IEditor and IDocument), and "document" (which refers to any). Change-Id: I01ebe10ec84aab5fe81e54be6bec14f653f28771 Reviewed-by:
Eike Ziller <eike.ziller@digia.com>
-
Eike Ziller authored
Change-Id: Ic05f0acd61c73a92dc0ee6861be4993557242986 Reviewed-by:
Eike Ziller <eike.ziller@digia.com>
-
Eike Ziller authored
And use documents for the list of currently open documents, instead of using a set of "original" editors that needed to be separately managed. Change-Id: I3379ca44f03646399d3ecb0e775d7f1fd81a6bcf Reviewed-by:
Eike Ziller <eike.ziller@digia.com>
-
hjk authored
... and make it a no-op on non-Windows. Saves #ifdefs. Change-Id: Ie791f7b9f1a425325d0b889e73758c5f7f7e6ad2 Reviewed-by:
Friedemann Kleint <Friedemann.Kleint@digia.com>
-
Friedemann Kleint authored
Change-Id: I3afd64b297a15af2e51c7fdd83292b9ca2a1cc1f Reviewed-by:
hjk <hjk121@nokiamail.com>
-
- Jul 11, 2013
-
-
Orgad Shaneh authored
Task-number: QTCREATORBUG-9783 Change-Id: Id1092fb9a79dfbf0425be4913241a507afb56a85 Reviewed-by:
Tobias Hunger <tobias.hunger@digia.com>
-