summaryrefslogtreecommitdiff
path: root/src/plugins/fakevim
Commit message (Collapse)AuthorAgeFilesLines
* Changed URL to qt-project.org in pluginspecs.Konstantin Tokarev2012-07-301-2/+2
| | | | | | | Also, it's 2012 now. Change-Id: I69a8d1d77658b2bb2cb547362d5e3163385cab3b Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
* fakevim: Fix for searches with an empty matchLukas Holecek2012-07-261-5/+2
| | | | | | | | | | | If searching (in "/" command mode) with regular expression "\\b" or ".{0}" the search takes infinitely long. This fix highlights one character to the right of empty match (behaviour is similar in Vim). Change-Id: I5113177cf6af0ef0197e14f0165227e7538a3d1d Reviewed-by: hjk <qthjk@ovi.com>
* fakevim: Fix block selectionsLukas Holecek2012-07-231-2/+3
| | | | | | | | | Selection anchor should be in front text cursor position. Last block with nested block should be selected properly. Change-Id: I796875ef7bce3527fb703ece5fdf944123f12315 Reviewed-by: hjk <qthjk@ovi.com>
* fakevim: Selection command for stringsLukas Holecek2012-07-231-5/+31
| | | | | | | | Selection commands for strings (blocks enclosed in double or single quotes or backtick characters). E.g. "di'", "ca`" etc. Change-Id: Ic83a5230eab317c9e730a1ddb421f2df432cb8e6 Reviewed-by: hjk <qthjk@ovi.com>
* Fix exit crash in fakevim plugin.Friedemann Kleint2012-07-231-3/+1
| | | | | | | Introduced by cf9895ae0146456b034c50459e2aa81299483b4d. Change-Id: Ia5e7f92fb05313826e5ffd8b080b8a711bc6e793 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
* Fix some memory leaksOrgad Shaneh2012-07-201-1/+3
| | | | | | | Task-number: QTCREATORBUG-7645 Change-Id: I34253d063a20ebf927bf651cf68af4fe1b71bc89 Reviewed-by: hjk <qthjk@ovi.com>
* Contact -> qt-project.orgEike Ziller2012-07-196-18/+6
| | | | | Change-Id: I7134d7de30bcf9f9dcfad42520dd45ee083a852d Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
* fakevim: Incorrect commands with nested parentheseshluk2012-07-181-8/+81
| | | | | | | | | Commands in normal mode like "ci(", "di[", "ca{" etc. should handle nested parentheses correctly. task-number: QTCREATORBUG-7632 Change-Id: I7a77ffa61ff7675f0dc8c66918136c2573cf4c06 Reviewed-by: hjk <qthjk@ovi.com>
* Fix qbs code styleYuchen Deng2012-06-191-1/+1
| | | | | Change-Id: Ia3e4df528d391580064efbeeab75016335a4299d Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
* ActionManager API cleanup.Eike Ziller2012-05-251-15/+6
| | | | | | | | d-pointer instead of inheritance static methods Change-Id: I7b2f0c8b05ad3951e1ff26a7d4e08e195d2dd258 Reviewed-by: hjk <qthjk@ovi.com>
* Mac: Avoid more Opt+<char> shortcuts.Eike Ziller2012-05-231-2/+2
| | | | | | Change-Id: I1f2ae70ed8b184be6d1467642924289af1b535a9 Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com> Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
* Get rid of lots of ifdef Q_OS_MAC for shortcuts.Eike Ziller2012-05-231-4/+2
| | | | | | | Using a central enum now. Change-Id: I20d88c9a3f8c62cf33e4b89a3442269f71918b06 Reviewed-by: hjk <qthjk@ovi.com>
* IOptionsPage: replace virtual fuctions by data membershjk2012-05-231-29/+27
| | | | | Change-Id: I8297df85109b67b79f90c33263a5dc7b89efbb60 Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
* editormanager: simplify use of interfacehjk2012-05-111-11/+7
| | | | | | | Less code on the user side, same meaning. Change-Id: I14e54a5d2ed8e024a51cce74eaf7c8419ad544be Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
* fakevim: fix :!cmd if there is no selectionhjk2012-05-081-13/+18
| | | | | Change-Id: Ieafb77ecc4d211f97b7b8321fc84fd7d6c81dfc0 Reviewed-by: hjk <qthjk@ovi.com>
* Merge remote-tracking branch 'origin/2.5'Eike Ziller2012-05-074-12/+31
|\
| * fakevim: restrict tabstop and shiftwidth spinbox to range 1..80hjk2012-05-031-2/+8
| | | | | | | | | | | | | | Task-number: QTCREATORBUG-7375 Change-Id: Ie6747d9be78a37cb2a0932720506aee26c1e6716 Reviewed-by: Eike Ziller <eike.ziller@nokia.com> Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
| * fakevim: don't allow non-positive numbers for tabstop and shiftwidthhjk2012-05-033-10/+23
| | | | | | | | | | | | | | Task-number: QTCREATORBUG-7375 Change-Id: I947dd903a5e7d09e367afbc771582793e6c008f1 Reviewed-by: Eike Ziller <eike.ziller@nokia.com> Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
* | Add FakeVim category icon to all option pagesDaniel Teske2012-05-031-2/+4
| | | | | | | | | | Change-Id: I9291ad878dda1cfab761d824ad143a16953eba40 Reviewed-by: hjk <qthjk@ovi.com>
* | Compile after qt5/qtbase commit 75a0c7f9Bradley T. Hughes2012-04-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | Commit 75a0c7f9b52cde47f20fdc1b89e1264d60350848 in qt5/qtbase changed some QRegExp methods to be non-const (they were previously const). This change makes Qt Creator compile again. Change-Id: Ibc98c678126c3b3189df7fcc043463b940951445 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
* | fakevim: make sure pending input is only processed oncehjk2012-04-171-7/+6
| | | | | | | | | | Change-Id: I0c6141eff49413f66cfee9a1f117279cdfcd4f36 Reviewed-by: hjk <qthjk@ovi.com>
* | Merge remote-tracking branch 'origin/2.5'Oswald Buddenhagen2012-04-161-2/+2
|\ \ | |/
| * fakevim: respect count for < and > in visual modehjk2012-04-111-2/+2
| | | | | | | | | | | | Task-number: QTCREATORBUG-7250 Change-Id: I80041c0e902df5274a37a821cd93f036fde9514e Reviewed-by: hjk <qthjk@ovi.com>
* | qbs files: use Qt5 module dependenciesJoerg Bornemann2012-04-101-1/+1
| | | | | | | | | | | | | | | | | | | | Renamed gui -> widgets. Renamed declarative -> quick1. With qbs the usage of qt.widgets and qt.quick1 with Qt4 is supported. Change-Id: I6cadaf34527f1f880d74ced7d2d18dd9801b7de1 Reviewed-by: Alessandro Portale <alessandro.portale@nokia.com>
* | Added TextEditor commands FollowSymbol and JumpToFile.Konstantin Tokarev2012-03-281-3/+1
| | | | | | | | | | | | | | | | | | | | Most of editors have "jump to file" or "follow symbol" actions. This patch reduces amount of related boilerplate code. New actions are made optional to prevent shortcut clash (both use F2). Change-Id: I2af580ed9d6789df25f4487ba001f3b83887c504 Reviewed-by: hjk <qthjk@ovi.com>
* | Merge remote-tracking branch 'origin/2.5'Eike Ziller2012-03-121-1/+1
|\ \ | |/
| * fakevim: fix handling of the 'Enter' key on the number blockhjk2012-03-091-1/+1
| | | | | | | | | | | | Change-Id: I8d05f9b6a890beb6ff67795e81619e8101127180 Reviewed-by: David Schulz <david.schulz@nokia.com> Reviewed-by: hjk <qthjk@ovi.com>
* | Merge remote-tracking branch 'origin/2.5'Eike Ziller2012-03-081-1/+1
|\ \ | |/ | | | | | | | | | | Conflicts: src/plugins/remotelinux/startgdbserverdialog.cpp Change-Id: I69597e20d5372e9baf12ac09fc20d39406683f9e
| * Replaced one-char-stringsRobert Loehning2012-03-071-1/+1
| | | | | | | | | | | | Change-Id: I0bf982b508a237e5b1e6ba3279cb589bae1b1c1d Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
* | Port Qt Creator to the new plugin system of Qt 5.Friedemann Kleint2012-03-021-0/+1
|/ | | | | | | | | | - Add Q_PLUGIN_METADATA for Qt 5, use Q_EXPORT_PLUGIN for Qt 4. - Generate the Json files for Qt 5 from the pluginspec files by using a XSLT sheet. Change-Id: I8653f182ae7d61615971c093df10b84fb06c2172 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
* qbs: CleanupOrgad Shaneh2012-02-281-4/+1
| | | | | | | | | * Removed utils, extensionsystem and aggregation dependencies for plugins that depend on Core * Capitalized Find and CPlusPlus Change-Id: I505e5f46976f26da47ad778860f103b173668b1c Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
* fakevim: fix repeating 'ciw'Martin Aumüller2012-02-211-1/+4
| | | | | Change-Id: I732cc9d6ad1693cf6227bca7c7d6e80a9357fd23 Reviewed-by: hjk <qthjk@ovi.com>
* add qbs filesJoerg Bornemann2012-02-201-0/+33
| | | | | Change-Id: If6bf71797ae81655d24a77e6badb86a77312af38 Reviewed-by: hjk <qthjk@ovi.com>
* Rename IFile->IDocument and FileManager->DocumentManagerEike Ziller2012-02-201-8/+8
| | | | | | | | And adapt the other API respectively. Change-Id: I1e04e555409be09242db6890f9e013396f83aeed Reviewed-by: Bill King <bill.king@nokia.com> Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
* Removed module names from #include directives.Erik Verbruggen2012-02-155-53/+53
| | | | | | | | Getting the #include directives ready for Qt5. This includes the new-project wizards. Change-Id: Ia9261f1e8faec06b9285b694d2b7e9a095978d2b Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
* Long live the king!hjk2012-01-266-6/+6
| | | | | Change-Id: I2b72b34c0cfeafc8bdbaf49b83ff723544f2b6e2 Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
* Replace Q_WS_MAC with Q_OS_MAC.Morten Johan Sorvig2012-01-261-1/+1
| | | | | | | | | | | | | | | 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 <Friedemann.Kleint@nokia.com> Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
* Core::Filemanager: make some methods statichjk2012-01-251-4/+3
| | | | | | | This follows suit to the ICore changes. Change-Id: Iba2de1b1e3f2574fd1459892eae702e6af1cc7dc Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
* Use new static ICore interface.hjk2012-01-241-22/+19
| | | | | Change-Id: I9b690d9b150c8d162b15370f9f8986267c9128f1 Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
* Let Command construct its description (former defaultText) itself.Eike Ziller2012-01-121-10/+1
| | | | | | | | Instead of doing it duplicated in the general and the fakevim shortcut settings. Change-Id: Id4b0e5b0630f1e94c825528f1c038776dc205aa3 Reviewed-by: hjk <qthjk@ovi.com>
* FakeVim: Fix gcc warning about unused variableKai Koehne2012-01-061-3/+1
| | | | | Change-Id: I2d88e568f91416cdc304446ccb9bd0d98a5eb654 Reviewed-by: hjk <qthjk@ovi.com>
* fakevim: fix cursor column after up/down in replace modehjk2011-12-301-0/+1
| | | | | Change-Id: I1a7fe47f1a7bf875447e767edee57fcca4b344f3 Reviewed-by: hjk <qthjk@ovi.com>
* fakevim: rework undo/redo cursor positioninghjk2011-12-271-45/+61
| | | | | Change-Id: I1daa788377295fb1446f31d9a74b9fd0df6920d1 Reviewed-by: hjk <qthjk@ovi.com>
* fakevim: implement ctrl-a and ctrl-xhjk2011-12-271-5/+46
| | | | | Change-Id: If1f13b9e9cf806cff254aedc6dab9e669105f3d6 Reviewed-by: hjk <qthjk@ovi.com>
* fakevim: more vim-ish cursor positioning after undo/redohjk2011-12-261-2/+3
| | | | | Change-Id: Ie689a719b023ed1e3756470bd144e22b1099bb07 Reviewed-by: hjk <qthjk@ovi.com>
* fakevim: record position before first keystroke as jump targethjk2011-12-261-0/+8
| | | | | Change-Id: I52942a46bcd42eee4f8452a61a899d6d9b706563 Reviewed-by: hjk <qthjk@ovi.com>
* Add commands :AS and :AVRainer Keller2011-12-121-0/+6
| | | | | Change-Id: I1f4111fe1b613d78ead4928b48a37cf39882bbb5 Reviewed-by: hjk <qthjk@ovi.com>
* fakevim: make <Esc> and <CR> case insensitivehjk2011-12-081-3/+11
| | | | | Change-Id: I412b9774b0e642a763c55334192aca0ae4796a57 Reviewed-by: hjk <qthjk@ovi.com>
* fakevim: bs=2 "has" starthjk2011-11-301-1/+3
| | | | | | Task-number: QTCREATORBUG-6640 Change-Id: Iaa90bd9c96207883dbb5889e1c0df544e3a1aa40 Reviewed-by: hjk <qthjk@ovi.com>
* fakevim: fix off-by-one when creating range from current linehjk2011-11-291-4/+2
| | | | | | Task-number: QTCREATORBUG-6630 Change-Id: I33c009cb72396872b8d603011b81d7e441f27cf2 Reviewed-by: hjk <qthjk@ovi.com>