From: vsr Date: Mon, 29 Aug 2016 15:05:37 +0000 (+0300) Subject: INTPAL 53231: 'Display tab white spaces' preference does not affect on Python view. X-Git-Tag: V8_1_0rc1~16 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=2e434280853b85c5e5b0b4c5b068b5932842a548;p=modules%2Fgui.git INTPAL 53231: 'Display tab white spaces' preference does not affect on Python view. --- diff --git a/doc/salome/gui/images/python_view_preferences.png b/doc/salome/gui/images/python_view_preferences.png index 61fb31758..4f600796e 100644 Binary files a/doc/salome/gui/images/python_view_preferences.png and b/doc/salome/gui/images/python_view_preferences.png differ diff --git a/doc/salome/gui/input/python_viewer.doc b/doc/salome/gui/input/python_viewer.doc index 1ad7fcd08..2120f037a 100644 --- a/doc/salome/gui/input/python_viewer.doc +++ b/doc/salome/gui/input/python_viewer.doc @@ -88,4 +88,10 @@ The following options are available: - Save settings as default button stores the applied Python viewer settings in the SALOME preferences .xml file. The settings will be restored in the current and next SALOME sessions. +The buttons in in the bottom part of dialog box peform the following actions: +- \b OK button applies preferences to the editor; +- \b Cancel button rejects changes; +- \b Defaults button restores preferences from applicaion's defaults; +- \b Help button opens Help browser. + */ diff --git a/src/LightApp/resources/LightApp_msg_en.ts b/src/LightApp/resources/LightApp_msg_en.ts index 411b76a61..53f076da3 100644 --- a/src/LightApp/resources/LightApp_msg_en.ts +++ b/src/LightApp/resources/LightApp_msg_en.ts @@ -1047,7 +1047,7 @@ File does not exist PREF_PY_TAB_WHITESPACES - Display tab whitespaces + Display tab delimiters PREF_PY_TAB_SIZE diff --git a/tools/PyEditor/src/resources/about.txt b/tools/PyEditor/src/resources/about.txt index 8fe8dc6d9..aeb24ff7c 100644 --- a/tools/PyEditor/src/resources/about.txt +++ b/tools/PyEditor/src/resources/about.txt @@ -31,6 +31,6 @@ The behavior of the editor can be customized via the Preferences dialog.
  • Center cursor on scroll: allows scrolling the script vertically to make the cursor visible at the center of the viewer.
  • Display line numbers area: shows line numbers at the left border of the editor.
  • Vertical edge settings: draws vertical line at the specified column of the viewer.
  • -
  • Display tab white spaces: displays tab indentations at a given number of white spaces.
  • +
  • Display tab delimiters: displays tab marks at a given number of white spaces.
  • Save settings as default: saves chosen options as a default ones. These settings will be restored after application restart.
  • diff --git a/tools/PyEditor/src/resources/translations/PyEditor_msg_en.ts b/tools/PyEditor/src/resources/translations/PyEditor_msg_en.ts index ed2e32172..c32adddb2 100644 --- a/tools/PyEditor/src/resources/translations/PyEditor_msg_en.ts +++ b/tools/PyEditor/src/resources/translations/PyEditor_msg_en.ts @@ -37,7 +37,7 @@
    LBL_TAB_SPACES - Display tab white spaces + Display tab delimiters LBL_TAB_SIZE