aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/find/findtoolbar.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Core: Merge Find and Locator into Core pluginhjk2014-01-141-778/+0
| | | | | | | Change-Id: I7053310272235d854c9f409670ff52a10a7add8b Reviewed-by: Christian Kandeler <[email protected]> Reviewed-by: Orgad Shaneh <[email protected]> Reviewed-by: Eike Ziller <[email protected]>
* Incremented year in copyright infoRobert Loehning2014-01-081-1/+1
| | | | | | Change-Id: Ib5423fdd064e4546f848c0b640b0ed0514c26d3a Reviewed-by: Leena Miettinen <[email protected]> Reviewed-by: Kai Koehne <[email protected]>
* Find: Remove some Find namespace usagesTobias Hunger2013-09-041-45/+45
| | | | | Change-Id: I3caf03474c7e080766b85c6a3042f6a29f13cd40 Reviewed-by: hjk <[email protected]>
* Clean headers in Find.Friedemann Kleint2013-04-031-9/+0
| | | | | | | | Ran script to remove inludes on a trial-and-error basis and manually corrected it. Change-Id: Ia032a9f0c9360ffbc0d8a9c631f4c87d765fd0da Reviewed-by: Eike Ziller <[email protected]>
* Work around issue in Qt5 that shortcut override events are posted twiceEike Ziller2013-03-201-7/+21
| | | | | | | | Make shortcut override handling not have side effects. Task-number: QTBUG-30164 Change-Id: Ie54a31fc6539d4e509b0903983df0effa06cee12 Reviewed-by: Daniel Teske <[email protected]>
* Merge remote-tracking branch 'origin/2.6'Oswald Buddenhagen2013-01-311-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/plugins/autotoolsprojectmanager/AutotoolsProjectManager.pluginspec.in src/plugins/debugger/qtmessageloghandler.cpp src/plugins/debugger/qtmessagelogwindow.cpp src/plugins/madde/maemodeployconfigurationwidget.cpp src/plugins/qmldesigner/components/integration/designdocumentcontroller.cpp src/plugins/qmldesigner/designercore/include/widgetqueryview.h src/plugins/qmldesigner/designercore/metainfo/metainfoparser.cpp src/plugins/qmldesigner/designercore/model/modelnodecontextmenu.cpp src/plugins/qmldesigner/designercore/model/modelnodecontextmenu.h src/plugins/qmlprojectmanager/qmlprojectapplicationwizard.cpp src/plugins/qnx/bardescriptormagicmatcher.h src/plugins/qt4projectmanager/profilekeywords.cpp src/plugins/remotelinux/deployablefilesperprofile.cpp src/plugins/remotelinux/deployablefilesperprofile.h src/plugins/remotelinux/deploymentinfo.cpp src/plugins/remotelinux/deploymentsettingsassistant.cpp src/plugins/remotelinux/profilesupdatedialog.cpp tests/auto/icheckbuild/ichecklib.cpp tests/auto/icheckbuild/parsemanager.cpp tests/auto/icheckbuild/parsemanager.h Change-Id: Ie465a578446a089e1c502d1cb1096e84ca058104
| * Incremented year in copyright infov2.6.2Robert Loehning2013-01-291-1/+1
| | | | | | | | | | Change-Id: Ic6a9ff0359625021ebc061d22db6811814534205 Reviewed-by: Kai Koehne <[email protected]>
* | Remove braces for single lines of conditionsOrgad Shaneh2013-01-081-12/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | #!/usr/bin/env ruby Dir.glob('**/*.cpp') { |file| # skip ast (excluding paste, astpath, and canv'ast'imer) next if file =~ /ast[^eip]|keywords\.|qualifiers|preprocessor|names.cpp/i s = File.read(file) next if s.include?('qlalr') orig = s.dup s.gsub!(/\n *if [^\n]*{\n[^\n]*\n\s+}(\s+else if [^\n]* {\n[^\n]*\n\s+})*(\s+else {\n[^\n]*\n\s+})?\n/m) { |m| res = $& if res =~ /^\s*(\/\/|[A-Z_]{3,})/ # C++ comment or macro (Q_UNUSED, SDEBUG), do not touch braces res else res.gsub!('} else', 'else') res.gsub!(/\n +} *\n/m, "\n") res.gsub(/ *{$/, '') end } s.gsub!(/ *$/, '') File.open(file, 'wb').write(s) if s != orig } Change-Id: I3b30ee60df0986f66c02132c65fc38a3fbb6bbdc Reviewed-by: hjk <[email protected]>
* | Support preserving case when replacing.Francois Ferrand2012-12-141-3/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 <[email protected]> Reviewed-by: Leena Miettinen <[email protected]> Reviewed-by: Eike Ziller <[email protected]>
* | Merge remote-tracking branch 'origin/2.6'Eike Ziller2012-12-141-2/+5
|\| | | | | | | | | | | | | | | Conflicts: src/plugins/qt4projectmanager/qt4buildconfiguration.cpp src/plugins/qtsupport/baseqtversion.cpp Change-Id: I288eeb1137e1b08d6c0d69f394cbb0fe1a937b68
| * Find: Enqueue updating completion modelOrgad Shaneh2012-12-121-2/+5
| | | | | | | | | | | | | | Task-number: QTCREATORBUG-8408 Change-Id: I6a7eb34ff3fe296585be3e997d8c7f560612a560 Reviewed-by: Eike Ziller <[email protected]>
* | Merge remote-tracking branch 'origin/2.6'Eike Ziller2012-10-051-21/+20
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: share/qtcreator/qml/qmlpuppet/commands/endpuppetcommand.cpp share/qtcreator/qml/qmlpuppet/commands/endpuppetcommand.h src/plugins/debugger/qtmessageloghandler.cpp src/plugins/debugger/qtmessageloghandler.h src/plugins/debugger/qtmessagelogwindow.cpp src/plugins/madde/maemodeployconfigurationwidget.cpp src/plugins/madde/maemodeployconfigurationwidget.h src/plugins/remotelinux/deployablefilesperprofile.cpp src/plugins/remotelinux/deployablefilesperprofile.h src/plugins/remotelinux/deploymentinfo.cpp src/plugins/remotelinux/deploymentinfo.h src/plugins/remotelinux/deploymentsettingsassistant.cpp src/plugins/remotelinux/profilesupdatedialog.cpp src/plugins/remotelinux/remotelinuxdeploymentdatamodel.h tests/auto/icheckbuild/ichecklib.cpp tests/auto/icheckbuild/ichecklib_global.h tests/auto/icheckbuild/parsemanager.cpp tests/auto/icheckbuild/parsemanager.h tests/manual/ssh/tunnel/tunnel.h Change-Id: I04d7761df6bd936ad00e0547974284c967d39580
| * Adjust license headershjk2012-10-051-21/+20
| | | | | | | | | | Change-Id: Ice592c6de9951ee3b2c4cb52ed0bb3b6770e0825 Reviewed-by: Eike Ziller <[email protected]>
* | Utils::HostOsInfo: Introduce controlModifier() method.Christian Kandeler2012-09-131-4/+2
| | | | | | | | | | Change-Id: Ibd244963c5cd643fc0e8358ceabff0ad5f6599eb Reviewed-by: Eike Ziller <[email protected]>
* | Merge branch '2.6'Oswald Buddenhagen2012-08-301-2/+7
|\| | | | | | | | | | | | | Conflicts: src/libs/utils/consoleprocess_unix.cpp Change-Id: I196f61e882bfce94e165d9c724bffee9df1011b7
| * Find: Allow empty prefix for completersOrgad Shaneh2012-08-301-2/+7
| | | | | | | | | | Change-Id: Ie59a7613775c7e5ab19524adc0c5658a81532e95 Reviewed-by: Eike Ziller <[email protected]>
* | Utils: Introduce HostOsInfo class.Christian Kandeler2012-08-271-10/+5
|/ | | | | | | | | | | | | The class' member functions are intended to be used instead of the Q_OS_* macros in all contexts where the latter are not syntactically required. This lowers the likelihood of changes made on one platform breaking the build on another, e.g. due to the code model missing symbols in #ifdef'ed out code when refactoring. Change-Id: I4a54788591b4c8f8d589b8368a6c683d4155c9fa Reviewed-by: hjk <[email protected]>
* fancylineedit: enforce conscious choice between history or special completerhjk2012-08-241-2/+2
| | | | | Change-Id: Ia667895b619d0bb37561dce348adb7269df2fb9c Reviewed-by: Eike Ziller <[email protected]>
* Contact -> qt-project.orgEike Ziller2012-07-191-3/+1
| | | | | Change-Id: I7134d7de30bcf9f9dcfad42520dd45ee083a852d Reviewed-by: Oswald Buddenhagen <[email protected]>
* Make PluginManager mostly static.Eike Ziller2012-06-191-2/+1
| | | | | Change-Id: Ib938aa4999c7c418a82304c5cca2e8748ef9d228 Reviewed-by: hjk <[email protected]>
* ActionManager API cleanup.Eike Ziller2012-05-251-16/+15
| | | | | | | | d-pointer instead of inheritance static methods Change-Id: I7b2f0c8b05ad3951e1ff26a7d4e08e195d2dd258 Reviewed-by: hjk <[email protected]>
* Editor: implement find next/previous selected text.Francois Ferrand2012-04-231-6/+35
| | | | | | | | | | | | | | Add actions to search next/previous occurence of the selected text/text under the cursor, like in Visual Studio (ctrl+F3 and ctrl+shift+F3). Task-number: QTCREATORBUG-464 Change-Id: I0bf44e386b91fce4b26c6e3864e6df484f2e3556 Reviewed-by: Andre Hartmann <[email protected]> Reviewed-by: Leandro Melo <[email protected]> Reviewed-by: Yuchen Deng <[email protected]> Reviewed-by: Orgad Shaneh <[email protected]> Reviewed-by: Eike Ziller <[email protected]>
* Normalized connect()sRobert Loehning2012-03-061-3/+3
| | | | | | Change-Id: Id353ab140a46e06ffc3abf667ab3b234e749e17c Reviewed-by: Oswald Buddenhagen <[email protected]> Reviewed-by: Eike Ziller <[email protected]>
* More consistency for close & close split.Eike Ziller2012-02-201-1/+1
| | | | | Change-Id: I3d0869d5fc2542ff59434e0d42dae0ce6c7a2391 Reviewed-by: Virva Auvinen <[email protected]>
* Removed module names from #include directives.Erik Verbruggen2012-02-151-13/+13
| | | | | | | | Getting the #include directives ready for Qt5. This includes the new-project wizards. Change-Id: Ia9261f1e8faec06b9285b694d2b7e9a095978d2b Reviewed-by: Eike Ziller <[email protected]>
* Long live the king!hjk2012-01-261-1/+1
| | | | | Change-Id: I2b72b34c0cfeafc8bdbaf49b83ff723544f2b6e2 Reviewed-by: Daniel Teske <[email protected]>
* Replace Q_WS_MAC with Q_OS_MAC.Morten Johan Sorvig2012-01-261-2/+2
| | | | | | | | | | | | | | | We want to carry over all mac-specific code paths to Qt 5. WS_MAC is no longer set; OS_MAC is. This change is compatible with Qt 4 builds since OS_MAC is set whenever WS_MAC is. (OS_MAC would also be set for the theoretical X11/Mac platform, but that's anyway not a supported configuration for Creator) Change-Id: Ib25d8c4e83e7e27d911124cd48aa17fdb875923f Reviewed-by: Friedemann Kleint <[email protected]> Reviewed-by: Eike Ziller <[email protected]>
* Use new static ICore interface.hjk2012-01-241-3/+3
| | | | | Change-Id: I9b690d9b150c8d162b15370f9f8986267c9128f1 Reviewed-by: Daniel Teske <[email protected]>
* Find: Compile with QT_NO_CAST_FROM_ASCII.Friedemann Kleint2012-01-201-17/+17
| | | | | | | | - Add missing tr() - Fix potential crash constructing QString(0). Change-Id: Ie35c047800a60410ca0886f8e50be1670c8375e9 Reviewed-by: Friedemann Kleint <[email protected]>
* all: s/[email protected]/[email protected]/hjk2011-11-031-2/+2
| | | | | Change-Id: If18afb5d4665924e7d9250dccbc60a65e6daa75e Reviewed-by: Eike Ziller <[email protected]>
* Show more info about a search and move UI for replacingEike Ziller2011-09-131-26/+8
| | | | | | | | Change-Id: I6e024583c0d778a65007eb4590118c4329b2118a Reviewed-on: http://codereview.qt-project.org/4554 Reviewed-by: Qt Sanity Bot <[email protected]> Reviewed-by: Leandro T. C. Melo <[email protected]> Reviewed-by: Eike Ziller <[email protected]>
* core: rename uniqueidmanager.{cpp,h} as the class UniqueIdManager is gonehjk2011-09-051-1/+1
| | | | | | | Change-Id: Iffe04bc3bb0103cbac605f0734bbfd66eb7fd854 Reviewed-on: http://codereview.qt.nokia.com/4215 Reviewed-by: Qt Sanity Bot <[email protected]> Reviewed-by: hjk <[email protected]>
* Find/replace tool bar wasn't usable in very small width editors.con2011-06-231-3/+10
| | | | | | | | | | | | | | E.g. in split editors with small main window. We now have line edits with a minimum size and use a flow layout for the replace buttons (which will reduce width when necessary by laying out vertically). Flow layout is taken from the Qt examples. Task-number: QTCREATORBUG-3279 Change-Id: Ic07d4d3e75e3d928d6b53534adb42481ce26256b Reviewed-on: http://codereview.qt.nokia.com/666 Reviewed-by: Qt Sanity Bot <[email protected]> Reviewed-by: Leandro T. C. Melo <[email protected]>
* Fix/add copyright headersTobias Hunger2011-05-061-1/+1
| | | | Change-Id: I8b73d583be1ee7183f4074bce49d5390e38631a2
* Update license.hjk2011-04-131-14/+13
|
* It's 2011 now.con2011-01-121-1/+1
| | | | Reviewed-by: hjk
* License headers.con2010-12-171-7/+11
|
* coreplugin: use Core::Id is some placeshjk2010-09-101-1/+2
|
* Pedantic cleanup of filename parameters for QIcon constructorAlessandro Portale2010-07-301-4/+4
| | | | | | | | | | | Using more *::Constants::ICON_* where it makes sense and wrapping the file names into QLatin1String where they were missing. The increased usage of the ICON constants needed a few more cross plugin includes of *constants.h, here and there. I think that it is OK, since the dependencies were alredy there icon resource wise.
* Move find flags from IFindSupport to more accessible place.con2010-07-151-36/+36
| | | | For later use in IFindFilter.
* Add "Advanced..." button to find tool bar that opens the search dialog.con2010-07-141-0/+3
| | | | | | | | We had multiple cases where people were assuming that you can't do project wide search/replace, because they tried Ctrl+f and that is only single file. Reviewed-by: Thorbjørn Lindeijer
* Add replace action. Replace the icons for replace with text-only.con2010-07-141-3/+23
| | | | | | | | Also show "Replace", "Replace & Find" and "Replace All" in the tool bar, i.e. don't show the "Replace & Find Previous" in the tool bar to avoid it getting crowded. Reviewed-by: Thorbjørn Lindeijer
* Refactor fancy line edit to optionally have two buttons.con2010-07-011-10/+18
| | | | | | | | Also unify some method naming. Use the new feature to add clear buttons to the Locator, and the find tool bar. Task-number: QTCREATORBUG-705
* Core::Context: remove special handling of C_GLOBAL_ID/C_GLOBALhjk2010-06-281-1/+1
|
* core: use a class derived from QList<int> instead of a QList<int> for ↵hjk2010-06-251-4/+3
| | | | | | | | Core::Context A mostly mechanical change. Reviewed-By: con
* Improved fancylineedit and consistencyJens Bache-Wiig2010-04-121-1/+1
| | | | | | | | | | | - fixed some RTL issues. I removed isSideStored and useLayoutDirection. Instead we simply flip the sides if RTL is in use. - added the fader animation and clear icon that we use in Designer already. - fixed the double toplevel popup focus issues we had with the locator menu. - removed some redundant labels and reset buttons
* Header cleaning mainly in find/cpaster.Friedemann Kleint2010-03-241-0/+4
|
* Use some more standard icons from the themeThorbjørn Lindeijer2010-03-191-1/+2
| | | | | Added icons for Save As, Exit, Select All, Go To Line, About and Search & Replace actions.
* Avoid a flickering popup at startup and save some time on startup.con2010-03-101-6/+14
| | | | | | QCompleter::popup() actually shows the popup, which is both annoying and slow. Delay the annoyance from startup to a later point till this is fixed in Qt.
* Long live the king!hjk2010-03-051-1/+1
|