- 03 Sep, 2013 1 commit
-
-
hjk authored
Also adjust and streamline using and surrounding code. Change-Id: I6a8b05126bdcbb74ff611b21c7cb3c5902a2d5ca Reviewed-by:
Tobias Hunger <tobias.hunger@digia.com> Reviewed-by:
Orgad Shaneh <orgads@gmail.com>
-
- 30 Aug, 2013 1 commit
-
-
David Schulz authored
Change-Id: I7f0263e461f5d03cd7ccde47ebbeaabad8d11c6d Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
- 26 Aug, 2013 1 commit
-
-
jkobus authored
Change-Id: I87f64446161a57aea0896f68e4eafacef791969b Reviewed-by:
Orgad Shaneh <orgads@gmail.com> Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
- 22 Aug, 2013 1 commit
-
-
Nikolai Kosjar authored
Change-Id: Ia36e7e7142dbc030a428369ed04e76e70e8eef0b Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
- 31 Jul, 2013 1 commit
-
-
Nikolai Kosjar authored
* Const correctness * Better variable names * Sort order of includes and forward declarations * Comment fixes * Cosmetic/Whitespace changes Change-Id: Ieb137266ac7eddedb00c37f8b2cc8677d67e4bdd Reviewed-by:
David Schulz <david.schulz@digia.com>
-
- 25 Jul, 2013 1 commit
-
-
Nikolai Kosjar authored
Change-Id: I216b74933f5e94c49be7f05f0b09ac01b3319d8c Reviewed-by:
Aurindam Jana <aurindam.jana@digia.com>
-
- 18 Jul, 2013 2 commits
-
-
Erik Verbruggen authored
Updated/fixed the code to treat treat text/x-objcsrc and text/x-objc++src correctly. Change-Id: I1ab97577c786a28381398e4e0fac177325d00d7b Reviewed-by:
Sergey Shambir <sergey.shambir.auto@gmail.com> Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
Eike Ziller authored
This also fixes a bug with setting text cursor in InsertDefOperation in case of split editors (where the cursor could be set in a non-active editor on the target file). Change-Id: I1c011386537bc88a89d4d66bec79dfe06faac3c6 Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com> Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
- 17 Jul, 2013 2 commits
-
-
Nikolai Kosjar authored
There is no need to have that logic in CppEditorWidget. The CppModelManager knows how many editors are open and can therefore call GC() by itself. Change-Id: I2ed4051ad7b8c87615014d73e29291027d49d2ab Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
Orgad Shaneh authored
Change-Id: I1309db70e98d678e150388c76ce665e988fdf081 Reviewed-by:
Eike Ziller <eike.ziller@digia.com>
-
- 09 Jul, 2013 1 commit
-
-
Eike Ziller authored
That is what it actually is, wrt how Qt API calls it. Change-Id: Ied02055debf6aad75556b0d9d22e8ba2f72be555 Reviewed-by:
Eike Ziller <eike.ziller@digia.com>
-
- 26 Jun, 2013 1 commit
-
-
Nikolai Kosjar authored
The slot CPPEditorWidget::onContentsChanged() was still connected to the initial QTextDocument of BaseTextEditorWidgetPrivate and not to the via BaseTextEditorWidget::duplicateFrom() updated QTextDocument. This fixes the visual appearance when renaming. The actual renaming is/was not affected. Task-number: QTCREATORBUG-9651 Change-Id: Id26dc11627c253bbf89904be3f3df21a45041d01 Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
- 11 Jun, 2013 1 commit
-
-
Nikolai Kosjar authored
Change-Id: Id107b6c1f34f594c5a01502c156963c964235ed7 Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
- 05 Jun, 2013 1 commit
-
-
Eike Ziller authored
This change * Removes IMode::type, ModeManager::activateModeType, and IEditor::preferredModeType, and adds IEditor::isDesignModePreferred instead * Adapts the mode switching code in EditorManager to handle multiple windows, for example switching to edit mode should only happen if the editor/view is in the main window. Otherwise the editor window should be raised and focused * Renames EditorManager::NoActivate --> DoNotChangeCurrentEditor * Reverts the EditorManager::ModeSwitch logic to switch mode or make the current editor visible by default, introducing DoNotMakeVisible flag instead * Fixes a few instances where EditorManager::ModeSwitch should have been used One non-trivial problem left: If you open a .ui file and switch to an external editor window, edit mode is activated, because the current editor no longer is a .ui file, which means that the design mode gets deactivated. Change-Id: I76c5c2391eb4090143b778fb103acff3a5a1ff41 Reviewed-by:
David Schulz <david.schulz@digia.com>
-
- 03 Jun, 2013 2 commits
-
-
Eike Ziller authored
Change-Id: I231e89849e2f06958d05a511320ec236b5702a1c Reviewed-by:
Aurindam Jana <aurindam.jana@digia.com> Reviewed-by:
David Schulz <david.schulz@digia.com>
-
Eike Ziller authored
More sensible place, gotoLine is a method in IEditor anyhow. Change-Id: I420a6bf17060c16e6f1a4f45e0bef89379fb6bf8 Reviewed-by:
David Schulz <david.schulz@digia.com>
-
- 31 May, 2013 1 commit
-
-
Eike Ziller authored
Change-Id: I1bd5654d62b11456c35cc5bf1099e41fb3559bc7 Reviewed-by:
David Schulz <david.schulz@digia.com>
-
- 24 May, 2013 2 commits
-
-
Erik Verbruggen authored
Change-Id: Ie7bd3b36139ab7fac1186cefa7222dff7277eb53 Reviewed-by:
hjk <hjk121@nokiamail.com> Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
hjk authored
Change-Id: Ie0823acc3dfd216c3f22a93ee39d9919bf95c0a9 Reviewed-by:
Eike Ziller <eike.ziller@digia.com>
-
- 16 May, 2013 1 commit
-
-
Robert Loehning authored
Change-Id: I82e891a73724cdfa0db8c84e9daeb72e00e87029 Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@digia.com> Reviewed-by:
hjk <hjk121@nokiamail.com>
-
- 15 May, 2013 1 commit
-
-
Erik Verbruggen authored
If the file type (mime type) of an editor changes, it might need a different kind of highlighter/highlighting-support. Change-Id: I470dbf69e71856c9593d201416c4d4bd2958aaec Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
- 07 May, 2013 2 commits
-
-
Nikolai Kosjar authored
Now recalculateSemanticInfoNow is called only once instead of three times when a new editor is opened/created. Change-Id: Ife84fc9ca90cdbf2a417123e6a2b9e1e068dfdc4 Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
Nikolai Kosjar authored
If the cursor is on the return type, Document::lastVisibleSymbol() returns the function defined before the current function definition, which is unfavorable for "Switch Method Decl/Def". Fixed by using ASTPath instead of Document::lastVisibleSymbol(). Task-Number: QTCREATORBUG-9206 Change-Id: I94aba2fdbb437c6007f328f31deee7ae363364e2 Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
- 06 May, 2013 1 commit
-
-
Orgad Shaneh authored
Mostly 3 leading spaces converted to 4 A few other indentation issues Change-Id: Ib0db5925cac4d2999faf5699cd570884cbcd4863 Reviewed-by:
hjk <hjk121@nokiamail.com>
-
- 02 May, 2013 1 commit
-
-
Przemyslaw Gorszkowski authored
If type is not found we try to find 'using' declaration for this type. Task-number: QTCREATORBUG-7903 Change-Id: I569db9e1a8504a5da3115ebbed2e823d5924f6ca Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
- 30 Apr, 2013 1 commit
-
-
Nikolai Kosjar authored
Removing an unused variable and fixing whitespace issues. Change-Id: Ib410eb5b1d7be15a58817d000891ff3c12d129c0 Reviewed-by:
David Schulz <david.schulz@digia.com>
-
- 29 Apr, 2013 1 commit
-
-
Orgad Shaneh authored
CppTools.lib(CppTools.dll) : error LNK2005: "public: virtual __thiscall QFutureInterface<class TextEditor::HighlightingResult>::~QFutureInterface<class TextEditor::HighlightingResult>(void)" (??1?$QFutureInterface@VHighlightingResult@TextEditor@@@@UAE@XZ) already defined in moc_cppeditor.obj Creating library ..\..\..\lib\qtcreator\plugins\QtProject\CppEditor.lib and object ..\..\..\lib\qtcreator\plugins\QtProject\CppEditor.exp..\..\..\lib\qtcreator\plugins\QtProject\CppEditor.dll : fatal error LNK1169: one or more multiply defined symbols found Change-Id: Id53a0f8a99dbd18a9cbdf2af57b4f3970f5c41a3 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
- 26 Apr, 2013 1 commit
-
-
Erik Verbruggen authored
- Moved document update handling into CppTools. - Moved semantic info calculation into CppTools. - Moved semantic highlighting into CppTools. Change-Id: I253861bf074a64b1f657f7a4a8e6583871b5285f Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
- 19 Apr, 2013 2 commits
-
-
Eike Ziller authored
Introduces ITextEditorDocument. This is part of a more general "use documents instead of editors whereever possible". It will allow to move to e.g. ITextEditor::openedTextDocumentContents() instead of ITextEditor::openedTextEditorsContents(). Change-Id: I5ebceaa257a0d2c3e8ac4ac51b9b08b6faa42487 Reviewed-by:
David Schulz <david.schulz@digia.com>
-
Nikolai Kosjar authored
Change-Id: Icebf85ae425f413ed0d3dfc873869665233ec58c Reviewed-by:
Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
- 18 Apr, 2013 1 commit
-
-
Erik Verbruggen authored
- Moved TextEditor::SemanticHighlighter::Result to TextEditor::HighlightingResult - Moved SemanticInfo::UseKind to CppHighlightingSupport::Kind Change-Id: I14faab1891ca691a0691cfd9243edf19fcd3d3df Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
- 17 Apr, 2013 1 commit
-
-
Erik Verbruggen authored
Change-Id: Ie4db459ba9942d703ad3bc5a0f6805e39f729e9a Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
- 10 Apr, 2013 2 commits
-
-
Friedemann Kleint authored
Ran script to remove inludes on a trial-and-error basis and manually corrected it. Change-Id: I61a5c2fff02616f6883ddf3923e4361fca6bf92b Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
Friedemann Kleint authored
Ran script to remove inludes on a trial-and-error basis and manually corrected it. Change-Id: Ic8464ea084ca1ab401e9f4a7d0183b92b4038902 Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
- 09 Apr, 2013 1 commit
-
-
Przemyslaw Gorszkowski authored
Fixed: * highlighting * follow symbol * find usage Task-number: QTCREATORBUG-9006 Change-Id: I34a42f8665335857f41290217e7265e8a752455b Reviewed-by:
Orgad Shaneh <orgads@gmail.com> Reviewed-by:
Sergey Shambir <sergey.shambir.auto@gmail.com> Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
- 08 Apr, 2013 1 commit
-
-
Tobias Hunger authored
There were quite a few classes using CPlusPlus namespace in the CppTools plugin. Rename them and do some other small namespace related coding style fixups. Change-Id: I093fc1f3fc394fd9923e3f18d5f66522e288f21d Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
- 03 Apr, 2013 1 commit
-
-
Oswald Buddenhagen authored
... and adjust INCLUDEPATH accordingly. while i'm at messing with include statements, also re-order the include blocks according to policy and sort them within bigger blocks. Change-Id: I7762abfd7c4ecf59432b99db2f424e4fa25733a5 Reviewed-by:
Tobias Hunger <tobias.hunger@digia.com> Reviewed-by:
Eike Ziller <eike.ziller@digia.com>
-
- 08 Mar, 2013 2 commits
-
-
Mitch Curtis authored
Currently, pressing Ctrl + Shift + Up/Down with a commented block of text selected will indent that block if the line two lines above the block is indented. This is undesirable, because the indenting for that block is incorrect when it is uncommented. See the following example: Step 1: void f() { int x; // int y; } Step 2 - After Ctrl + Shift + Up: void f() { int x; // int y; } Step 3 - After uncommenting the block: void f() { int x; int y; } This patch tells the CPP and QmlJs editors not to indent commented blocks when moving them. Blocks that are not entirely within comments (excluding whitespace) are not affected. Tested with (C++ and JavaScript, respectively): http://paste.kde.org/688778/ http://paste.kde.org/688784/ Change-Id: I35414e6dfd5a1084fd997594e711ea9932231981 Reviewed-by:
David Schulz <david.schulz@digia.com>
-
Friedemann Kleint authored
Change-Id: I6af10e51c25ae63d33f15f35960362e7f529721b Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
- 26 Feb, 2013 1 commit
-
-
Erik Verbruggen authored
Done by reserving enough space in for the various QLists when created, and by preventing unnecessary copying of lists. Change-Id: I5a9f0f7042bbaa1cf5eb076b956c35f2191468c6 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-