Editors: Add an option to enable/disable the camel case navigation.

The user can change the setting in Option->Text Editor->Behavior.

Reviewer's note: We do have alternative ways to disable camel-case
operations through the shortcuts. Nevertheless, this particular option
has been quite requested since it disables every camel-case based
operation at once. In addition, it seems that the shortcuts are still
not "visible" or "expected" for many users.

Change-Id: I04364760f4b43123fd9e06c0c52ba9e6a5688e2c
Merge-request: 392
Reviewed-on: http://codereview.qt-project.org/6419
Reviewed-by: Leandro T. C. Melo <leandro.melo@nokia.com>
Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com>
This commit is contained in:
Nicolas Arnaud-Cormos
2011-09-19 19:00:53 +02:00
committed by Leandro T. C. Melo
parent 14d9328072
commit 7fc4de0b65
6 changed files with 48 additions and 7 deletions

View File

@@ -205,6 +205,9 @@ public:
void setConstrainTooltips(bool b);
bool constrainTooltips() const;
void setCamelCaseNavigationEnabled(bool b);
bool camelCaseNavigationEnabled() const;
void setRevisionsVisible(bool b);
bool revisionsVisible() const;