Commit Graph

298 Commits

Author SHA1 Message Date
Daniel Molkentin
7e1f9d9f85 Highlight colliding shortcuts for imported keyboard schemes. 2010-04-07 18:02:34 +02:00
dt
5f2ae2af47 Less includes 2010-04-07 13:51:07 +02:00
hjk
a9a880d984 fakevim: disable some debug output 2010-04-06 17:58:46 +02:00
hjk
1dc68b8f22 fakevim: hot fix for the 'must change tabsize in fakevim, too'-problem 2010-03-26 17:56:35 +01:00
Thorbjørn Lindeijer
2d21060bc9 Added icons to options dialog categories
Some categories do not have icons yet, unfortunately.
2010-03-26 17:47:31 +01:00
hjk
c317acfdbe fakevim: make UseFakeVim option independent from the settings groupbox again 2010-03-26 14:53:12 +01:00
Friedemann Kleint
8a58a2fe71 Header cleaning mainly in find/cpaster. 2010-03-24 10:43:01 +01:00
Martin Aumüller
2ee91c8aab fakevim: map ctrl-] (follow tag in vim) to "Follow symbol under cursor" and ctrl-t (move up in tag stack) to "Go Back"
Merge-request: 131
Reviewed-by: hjk <qtc-committer@nokia.com>
2010-03-18 13:15:59 +01:00
Martin Aumüller
215ad05701 fakevim: make sure that disabled default actions are not called accidentally
disabled default actions are set to an empty regex pattern (which would match
any command)

Merge-request: 131
Reviewed-by: hjk <qtc-committer@nokia.com>
2010-03-18 13:15:58 +01:00
Friedemann Kleint
bbcacaf59f Header cleaning spree in Core/Debugger and Symbian/Maemo-code of Qt4. 2010-03-18 10:59:06 +01:00
Martin Aumüller
af3b1ce778 factor out the commonalities between the keyboard shortcut & ex command mapping dialog
Merge-request: 125
Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com>
2010-03-11 16:42:39 +01:00
hjk
9595504bda Long live the king! 2010-03-05 11:28:13 +01:00
Daniel Molkentin
22773fc825 Shortcutsettings/FakeVim: Indicate modified shortcuts/regexps.
Fixes: QTCREATORBUG-559
2010-03-04 19:22:16 +01:00
Daniel Molkentin
4025adf647 Shortcut settings: Group shortcut categories into sections.
Do this for the fakevim plugin as well, which uses
a slightly modified version for its settings.
2010-03-02 17:55:25 +01:00
Oswald Buddenhagen
75b42f18d8 Merge remote branch 'origin/1.3'
Trailing whitespace removal re-applied manually.
2010-01-29 22:50:23 +01:00
Oswald Buddenhagen
a6ca348636 remove trailing whitespace
doing it in 1.3 as well to avoid possible later conflicts
2010-01-29 21:33:57 +01:00
hjk
4537e2be6c fakevim: code cosmetics 2010-01-22 17:05:03 +01:00
Martin Aumüller
8ad7e88ac3 fakevim: make ':n'/':N' switch to the next/previous open file
this approximates vim's behaviour better than moving forward/back in the navigation history

Merge-request: 101
Reviewed-by: hjk <qtc-committer@nokia.com>
2010-01-22 17:05:03 +01:00
Martin Aumüller
a4e34a804a fakevim: make sure that FakeVimHandler has returned before being deleted
some actions might cause the parent editor to be deleted,
don't crash in that case

Merge-request: 101
Reviewed-by: hjk <qtc-committer@nokia.com>
2010-01-22 17:05:03 +01:00
Martin Aumüller
7c9c7a0f20 fakevim: configurable mapping of ex commands to actions
default mapping:
- :make -> build
- :A -> switch header/source
- :cn -> next issue item
- :cp -> previous issue item

Merge-request: 101
Reviewed-by: hjk <qtc-committer@nokia.com>
2010-01-22 17:05:03 +01:00
Martin Aumüller
bf607962e5 fakevim: change Find plugin's case sensitivity with ':set (no)ignorecase'
- allow for handling unknown arguments to ':set' by the layer having installed the FakeVim handler
- use that to change the Find plugin's case sensitivity

Merge-request: 97
Reviewed-by: hjk <qtc-committer@nokia.com>
2010-01-21 17:23:32 +01:00
Martin Aumüller
f6482a3871 fakevim: implement incremental backward search '?' using Find plugin
Merge-request: 97
Reviewed-by: hjk <qtc-committer@nokia.com>
2010-01-21 17:23:31 +01:00
Martin Aumüller
474d883eac for fakevim mode, terminate incremental search after pressing enter/return
Merge-request: 97
Reviewed-by: hjk <qtc-committer@nokia.com>
2010-01-21 17:23:31 +01:00
Martin Aumüller
fb1e56cbe0 fakevim: use FakeVim indentation settings instead of creator's
Merge-request: 2160
Reviewed-by: hjk <qtc-committer@nokia.com>
2010-01-15 15:27:42 +01:00
hjk
c2d6e6d54a fakevim: break long lines 2010-01-08 11:04:13 +01:00
Tobias Hunger
a6ad773722 Make method naming more consistent.
* Use id() for methods returning a string used to represent
    some type of object.
  * Use displayName() for strings that are meant to be user
    visible.
  * Quieten some warnings while touching the files anyway.
  * Move Factories to their products in the plugins where that
    was not done before.

Reviewed-by: dt
2010-01-07 18:17:24 +01:00
Martin Aumüller
0b49fb310f fakevim: creator auto indent is more like vim's smartindent
Merge-request: 98
Reviewed-by: hjk <qtc-committer@nokia.com>
2010-01-06 15:21:17 +01:00
Martin Aumüller
c4fede0fd3 fakevim: use BaseTextEditor's isElectricCharacter
in order for automatic indenting to work, isElectricCharacter has to match the language of the document

Merge-request: 98
Reviewed-by: hjk <qtc-committer@nokia.com>
2010-01-06 15:21:17 +01:00
Martin Aumüller
7ccdbc5e97 fakevim: fix indenting
- the indented region has been off by one line as lineForPosition returns 1-based line numbers but QTextDocument::findBlockByNumber expects base 0
- all lines (including first and last line) have to be indented
- if text is collapsed, then findBlockByNumber has to be used instead of findBlockByLineNumber for getting the block containing a line

Merge-request: 96
Reviewed-by: hjk <qtc-committer@nokia.com>
2010-01-05 18:48:53 +01:00
Friedemann Kleint
a8ac34c347 Options: Sort by category, id.
Separate category and trCategory and introduce sorting characters
to the categories. Same for id/name.
2009-11-27 16:12:12 +01:00
Friedemann Kleint
65e11062bb Polish the settings dialog.
Add a title label to the pages. Use QGroupBoxes throughout.
Extend SavedAction to work with checkable QGroupBoxes. Polish UI files,
use common layout for VCS plugins. Performance: Apply only visited
settings pages. Add search keywords.

Task-number: QTCREATOR-26
2009-11-24 15:05:02 +01: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
hjk
93cbef8724 long live the king 2009-08-14 09:30:56 +02:00
Friedemann Kleint
cbfa2c0191 Fixed translation glitches. 2009-07-31 16:41:12 +02:00
Alessandro Portale
5438a3f72f Missed some unused ';' after Q_UNUSED 2009-07-13 18:55:11 +02:00
Jason McDonald
884b7af769 Update license headers and sales contact details.
Reviewed-by: Trust Me
2009-06-17 00:01:27 +10:00
hjk
1754aefdb1 fakevim: some re-organization of ex mode command handling 2009-06-15 15:14:16 +02:00
dt
63a0225ea9 Fix some insignificant memory leaks.
Reviewed-By: hjk
2009-06-03 13:53:45 +02:00
hjk
6c85e5ec31 fakevim: let the "IncSearch" option toggle between using the Creator
core Find dialog and the "old" minibuffer based search.

A hot fix for the recent regression that 'n' and 'N' do not work and
the positioning of the cursor after the search is wrong.
2009-06-02 12:08:35 +02:00
Rhys Weatherley
4350baeea1 Map n and N in FakeVim to the FIND_NEXT and FIND_PREVIOUS actions. 2009-06-01 07:58:23 +10:00
Rhys Weatherley
ef4d2c301a Add :q/:w/:x commands that are normally expected in vi's
Common things like :wq, :x, and :qa didn't work - now they do.
2009-06-01 07:57:57 +10:00
Rhys Weatherley
790a7879e8 Make FakeVim use the default find box instead of mini-buffer
Creator already has a find box that works fairly well, so there
is no need for a mini-buffer mode for searching.  This change makes
FakeVim activate the standard find box when the user hits '/' or '?'.

Note: right now both '/' and '?' do forward searching by default
because the Creator find box lacks a "find backwards by default" mode.
This can be added later to the find box if considered useful.
2009-06-01 07:57:32 +10:00
hjk
883a7ffdbc fakevim: fix the "Quit FakeVim" handler 2009-04-14 14:42:46 +02:00
hjk
05f0b60ff1 fakevim: fix split window 2009-04-03 16:33:59 +02:00
hjk
c3b3bd121a fakevim: distinquish :q and :q!
javascripteditor: compile fix Linux, compile fix namespaces
2009-03-31 11:53:42 +02:00
hjk
aedeadf01b fakevim: use :q to quit the editor, not fakevim mode.
Quitting the fakevim mode is still possible using the options, or
Alt-V,Alt-V, or clicking the button
2009-03-31 11:45:28 +02:00
hjk
3fe66ea628 fakevim: make Alt-V Alt-V a global toggle 2009-03-30 16:54:25 +02:00
hjk
9963552876 fakevim: work on new settings dialog 2009-03-30 15:39:13 +02:00
hjk
765489f964 fakevim: work on settings dialog 2009-03-30 15:39:13 +02:00
hjk
c826e6dcfe fakevim: re-organize settings handling 2009-03-30 15:39:13 +02:00