Francois Ferrand
058d2e8cb5
Support preserving case when replacing.
...
When making a case insensitive search, try to keep the string capitalization when doing
the replace:
- All upper-case matches are replaced with the upper-case new text.
- All lower-case matches are replaced with the lower-case new text.
- Capitalized matches are replace with the capitalized new text.
- Other matches are replaced with the new text as provided.
Note: this does not work with regexp replace, only plain text.
Change-Id: I87cbc28eb64688bdf3c8c6ec173fcb22f91abcd0
Reviewed-by: Cristian Tibirna <tibirna@kde.org >
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com >
Reviewed-by: Eike Ziller <eike.ziller@digia.com >
2012-12-14 10:22:41 +01:00
hjk
386ca7c8dd
Adjust license headers
...
Change-Id: Ice592c6de9951ee3b2c4cb52ed0bb3b6770e0825
Reviewed-by: Eike Ziller <eike.ziller@digia.com >
2012-10-05 17:12:56 +02:00
Eike Ziller
e0e8cf3ada
Contact -> qt-project.org
...
Change-Id: I7134d7de30bcf9f9dcfad42520dd45ee083a852d
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com >
2012-07-19 13:23:21 +02:00
Andre Hartmann
44a3a5e070
Implemented Rename Macro Usages
...
Works the same way as Rename Usages for C++ Symbols.
For now, no Search Again as this requieres further work.
Task-number: QTCREATORBUG-413
Change-Id: I09e85ea1e8c247f5ce0b6bc566aba8018c1569e4
Reviewed-by: Leandro Melo <leandro.melo@nokia.com >
2012-06-06 14:10:07 +02:00
Eike Ziller
ddc0c89bd6
Show warning with continue/cancel in case of many search results
...
Task-number: QTCREATORBUG-6116
Change-Id: I57a66b8989f1cc4137b02df370704dfe43d392ac
Reviewed-by: Robert Löhning <robert.loehning@nokia.com >
Reviewed-by: Eike Ziller <eike.ziller@nokia.com >
2012-06-05 10:08:40 +02:00
Erik Verbruggen
3fa55b7ab9
Removed module names from #include directives.
...
Getting the #include directives ready for Qt5. This includes the
new-project wizards.
Change-Id: Ia9261f1e8faec06b9285b694d2b7e9a095978d2b
Reviewed-by: Eike Ziller <eike.ziller@nokia.com >
2012-02-15 16:24:46 +01:00
hjk
2931a499e6
Long live the king!
...
Change-Id: I2b72b34c0cfeafc8bdbaf49b83ff723544f2b6e2
Reviewed-by: Daniel Teske <daniel.teske@nokia.com >
2012-01-26 19:55:36 +01:00
Eike Ziller
50b1d6742a
Windows build fix.
...
Change-Id: If5389209dad8dbd4c78d9faff41323ae3218cd78
Reviewed-by: Leandro Melo <leandro.melo@nokia.com >
2012-01-24 14:14:00 +01:00
Eike Ziller
cd2dab2922
Implement "search again" for find usages (C++)
...
Change-Id: Ia3dc174c64da9194401883a1a989a712cb7aaed8
Reviewed-by: Leandro Melo <leandro.melo@nokia.com >
2012-01-24 12:34:04 +01:00
Eike Ziller
11907bc072
Fix starting a usage search while another one is running.
...
Theoretically it could now run multiple searches in parallel, but since
a single search grabs all available threads from the pool, any search
request afterwards is queued for execution when the previous one
finished.
Task-number: QTCREATORBUG-6101
Change-Id: Ifada0ccdd1ce7cfb4aaaaa4de2db070025f91a3a
Reviewed-by: Leandro Melo <leandro.melo@nokia.com >
2011-12-20 12:21:34 +01:00
hjk
31600758de
all: s/info@qt.nokia.com/qt-info@nokia.com/
...
Change-Id: If18afb5d4665924e7d9250dccbc60a65e6daa75e
Reviewed-by: Eike Ziller <eike.ziller@nokia.com >
2011-11-03 10:33:19 +01:00
Eike Ziller
fdeb7620f1
Keep multiple search results in history.
...
Change-Id: I7350c78479343e85b1ca4957e08bccefb5756d20
Reviewed-on: http://codereview.qt-project.org/4556
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Leandro T. C. Melo <leandro.melo@nokia.com >
2011-09-14 10:55:20 +02:00
Eike Ziller
1e47de1416
Move advanced search dialog into search result pane.
...
And move the cancel button into the specific search result widget.
Change-Id: Ide8173e1ec5de091e1c1332a2b0c47d9a30a4c87
Reviewed-on: http://codereview.qt-project.org/4555
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Leandro T. C. Melo <leandro.melo@nokia.com >
Reviewed-by: Eike Ziller <eike.ziller@nokia.com >
2011-09-13 15:38:47 +02:00
Eike Ziller
5990b039e8
Show more info about a search and move UI for replacing
...
Change-Id: I6e024583c0d778a65007eb4590118c4329b2118a
Reviewed-on: http://codereview.qt-project.org/4554
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Leandro T. C. Melo <leandro.melo@nokia.com >
Reviewed-by: Eike Ziller <eike.ziller@nokia.com >
2011-09-13 15:37:37 +02:00
Eike Ziller
0594887dea
Move and cleanup search specific API to SearchResult class
...
Change-Id: I7e64701e8833ad38b9ac01d316bd00302602a390
Rubber-stamped-by: Daniel Teske
Reviewed-on: http://codereview.qt.nokia.com/4179
Reviewed-by: Eike Ziller <eike.ziller@nokia.com >
2011-09-06 17:05:22 +02:00
Tobias Hunger
aa2acec14c
Fix/add copyright headers
...
Change-Id: I8b73d583be1ee7183f4074bce49d5390e38631a2
2011-05-06 15:17:05 +02:00
hjk
8397663964
Update license.
2011-04-13 11:49:28 +02:00
hjk
57eae3191e
s:// end of namespace :// namespace :g for consistency
...
We use the latter style everywhere else to signify the end of a namespace block.
2011-02-04 12:45:32 +01:00
con
d1023c7614
It's 2011 now.
...
Reviewed-by: hjk
2011-01-12 09:46:24 +01:00
Christian Kamm
5f50a6ae34
C++: Move the ModelManagerInterface from CppTools to CPlusPlus.
2011-01-04 15:58:21 +01:00
con
04e32b0049
License headers.
2010-12-17 16:03:42 +01:00
Erik Verbruggen
12ac55429c
C++: put dependency table calculation into the future.
...
Task-number: QTCREATORBUG-2300
2010-09-10 14:18:47 +02:00
ck
46f537e56a
Quickfix: Convert underscore notation to camel case.
...
Reviewed-by: Roberto Raggi
2010-07-20 11:07:14 +02:00
Roberto Raggi
7528b2c63a
Compute the dependecy table on demand.
2010-07-06 14:35:23 +02:00
Roberto Raggi
1c078ec2a3
Ensure we keep the context around for as long as it is needed.
2010-05-31 12:37:15 +02:00
Erik Verbruggen
284b8d38e2
Put the DependencyTable calculation into the QFuture.
...
Done-with: Roberto Raggi
2010-03-17 14:20:17 +01:00
Erik Verbruggen
1cc5e1fe01
Put the include depenency table into a separate class, and cache it when possible.
2010-03-17 14:20:17 +01:00
Erik Verbruggen
417a1c9f28
Fixed QTCREATORBUG-745.
...
Fixed crash in FindUsages on a dirty file in a large project, which is saved
while the FindUsages is still running.
2010-03-09 17:38:02 +01:00
hjk
9595504bda
Long live the king!
2010-03-05 11:28:13 +01:00
Christian Kamm
f90f9e4879
Find macro uses.
...
Reviewed-by: Erik Verbruggen
2009-12-21 14:57:05 +01:00
Roberto Raggi
e84de32ad1
Use resultsReadyAt.
2009-12-01 17:07:50 +01:00
con
5bcff248fb
Some naming adaptions.
2009-11-30 18:22:04 +01:00
Friedemann Kleint
43ff8a0fb0
Compile Windows
2009-10-27 12:36:26 +01:00
Roberto Raggi
fefd72b293
Introduced CPlusPlus::FindUsages.
2009-10-27 12:01:45 +01:00
Roberto Raggi
420b09e8c2
Expose CppModelManagerInterface::workingCopy()
2009-10-12 10:38:00 +02:00
Roberto Raggi
64710c2b6b
Perform renaming.
2009-10-05 18:30:39 +02:00
con
ddb7842761
Merge branch '1.3' of git@scm.dev.nokia.troll.no:creator/mainline into 1.3
...
Conflicts:
src/plugins/cpptools/cppfindreferences.cpp
src/plugins/cpptools/cpptoolsplugin.cpp
src/plugins/texteditor/basefilefind.cpp
2009-10-05 17:26:13 +02:00
con
44e2704bc1
Refactor search result window for use of many items and checked state.
2009-10-05 16:01:50 +02:00
Roberto Raggi
73320a43d1
Added `Find Usages' of a Symbol.
2009-10-05 15:17:48 +02:00
Friedemann Kleint
5948e284bb
Rename namespace Core::Utils into Utils
...
Also move Designer::Internal::FormWindowEditor ->
Designer::FormWindowEditor.
2009-10-05 11:06:05 +02:00
Roberto Raggi
ace380ec28
Make the symbols used in the current editors.
2009-09-30 13:25:59 +02:00
Roberto Raggi
86e21bc255
Look at the working copy when searching for references.
2009-09-29 13:42:47 +02:00
Roberto Raggi
91a50a74f2
Changed the signature of findReferences()
2009-09-24 16:51:40 +02:00
dt
fd5ee47949
Forward declaration is not enough, so include the header.
2009-09-23 17:38:36 +02:00
Roberto Raggi
8848be4caa
Find references
2009-09-23 16:52:41 +02:00