Skip to content

Commit

Permalink
Enhanced the tooltip text for the status bar report of the editor's s…
Browse files Browse the repository at this point in the history
…tructural editing mode.
  • Loading branch information
laurentpetit committed May 13, 2010
1 parent fe1015c commit 307911d
Showing 1 changed file with 4 additions and 4 deletions.
Expand Up @@ -209,8 +209,8 @@ protected void updateStatusField(String category) {
field.setText(text == null ? fErrorLabel : text);
extField.setToolTipText(
(useStrictStructuralEditing
? "Strict mode: editor does its best to prevent you from breaking the structure of the code (requires you to know shortcut commands well)"
: "Default mode: helps you with edition, but does not get in your way"));
? "Strict mode: editor does its best to prevent you from breaking the structure of the code (requires you to know shortcut commands well). Click to switch to Default Mode."
: "Default mode: helps you with edition, but does not get in your way Click to switch to Strict Mode."));
}
}

Expand Down Expand Up @@ -784,10 +784,10 @@ protected void setPreferenceStore(IPreferenceStore store) {
public final ISourceViewer sourceViewer() {
return super.getSourceViewer();
}


/** Change the visibility of the method to public */
@Override
public void setStatusLineErrorMessage(String message) {
// TODO Auto-generated method stub
super.setStatusLineErrorMessage(message);
}

Expand Down

0 comments on commit 307911d

Please sign in to comment.