* 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
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>
- 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>
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
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.
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.
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.