Commit Graph

370 Commits

Author SHA1 Message Date
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
hjk
0807ca53c9 fakevim: fine-tune autocompletion 2009-03-25 14:52:45 +01:00
hjk
530967ea22 fakevim: trigger autocompletion on '.' and '>' 2009-03-25 13:31:30 +01:00
hjk
b81eb94f94 fakevim: hide fakevim statusbar on :q! 2009-03-23 12:28:26 +01:00
hjk
dc8045f5be Fixes: fakevim: work on indentation 2009-03-06 13:03:33 +01:00
hjk
2deb735367 Fixes: fakevim/editorview: move the 'minibuffer' to the bottom of the
editor
2009-03-05 12:30:10 +01:00
hjk
8ca887aae2 Fixes: change file license headers to include LGPL 2009-02-25 09:15:00 +01:00
Oswald Buddenhagen
3fca94780a Merge branch '1.0.0' into master
Conflicts:
	src/plugins/debugger/gdbengine.cpp
2009-02-23 17:03:25 +01:00
hjk
bddd9fa31e Fixes: commands: rename FakeVim.InstallHandler -> TextEditor.FakeVimHandler 2009-02-20 15:58:14 +01:00
Martin Aumueller
f2940adb4d fakevim: implement indenting a block and autoindent 2009-02-11 14:48:18 +01:00
Martin Aumueller
23a9971ad2 fakevim: implement paren matching w/o making FakeVimHandler depend on Qt Creator's TextEditor 2009-02-11 14:48:18 +01:00
hjk
50661f994d Fixes: fakevim: fix crash when installed on binary editor 2009-02-04 16:48:03 +01:00
hjk
7693d44876 Fixes: fakevim: fix crash when trying to install on empty editor 2009-02-04 16:42:55 +01:00
hjk
3e6cf4e96c Fixes: fakevim: code cosmetics 2009-01-28 12:44:46 +01:00
hjk
e71c9807e3 Fixes: fakevim: use proper QObject parent for handler
Details:  before that it was the plugin, so there was a lot of
inactive handlers left around
2009-01-27 14:50:36 +01:00
hjk
24aef0aecc Fixes: fakevim: link fix
Details:  the installHandler() overload was missing an implementation
2009-01-26 10:24:36 +01:00
hjk
292d4bc3d5 Fixes: fakevim: provide an option in the text editor settings 2009-01-23 19:13:00 +01:00
hjk
15ac83eda4 Fixes: fakevim: add flags to settings page 2009-01-23 18:21:36 +01:00
hjk
ab8c038ed7 Fixes: fakwvim: fix recently broken selection in standalone application 2009-01-23 16:37:32 +01:00
hjk
02ea86b5c2 Fixes: fakevim: use one handler per editor 2009-01-23 15:12:04 +01:00
hjk
67437acf49 Merge branch 'master' of git@scm.dev.nokia.troll.no:creator/mainline 2009-01-20 11:54:28 +01:00
hjk
113b81e9db replace ExtensionSystem::PluginManager::instance()->getObject<Core::ICore>() by Core::ICore::instance() 2009-01-20 11:52:04 +01:00
Thorbjørn Lindeijer
e0a4789081 Added some structure to the advanced edit menu
It was getting a bit cluttered without any grouping of the different
actions. Also, the collapse and expand actions have been added, mainly
for discoverability.
2009-01-20 09:51:56 +01:00
hjk
cc5ff1ec74 Remove #include <extensionsystem/pluginmanager.h> from icore.h, a
forward declaration is sufficient.
2009-01-19 12:39:20 +01:00
hjk
30c1a046f2 fakevim: partial implementation of :history 2009-01-15 17:29:30 +01:00
hjk
50d06fe7c1 fakevim: compile fix 2009-01-15 15:34:35 +01:00
hjk
f08c67b465 fakevim: remove core dependencies from fakevimhandler.cpp. breaks
writing of partial files for now.
2009-01-15 15:27:14 +01:00
con
fbfcc9a484 Fixes: - ICommand --> Command
Details:  - Naming convention
2009-01-14 13:18:25 +01:00
con
1e4c48a173 Fixes: - IActionContainer --> ActionContainer
Details:  - Conform to naming convention
2009-01-14 13:18:24 +01:00