Mercurial > octave
diff libgui/src/workspace-model.cc @ 27893:465ac679e976
Fix typos and grammar errors in comments in libgui (patch #9790)
* color-picker.cc, documentation.cc, dw-main-window.cc, files-dock-widget.cc,
gui-preferences-mw.h, history-dock-widget.h, file-editor-tab.cc,
file-editor-tab.h, file-editor.cc, find-dialog.cc, octave-qscintilla.cc,
main-window.cc, octave-dock-widget.cc, octave-dock-widget.h,
resource-manager.cc, shortcut-manager.cc, tab-bar.cc, tab-bar.h,
variable-editor.cc, variable-editor.h, workspace-model.cc, workspace-view.cc:
Fix typos and grammar errors in comments.
author | Andrew Janke <andrew@apjanke.net> |
---|---|
date | Thu, 11 Apr 2019 07:37:20 -0400 |
parents | a36443e94f8a |
children | b442ec6dda5c |
line wrap: on
line diff
--- a/libgui/src/workspace-model.cc Wed Jan 01 17:40:49 2020 +0100 +++ b/libgui/src/workspace-model.cc Thu Apr 11 07:37:20 2019 -0400 @@ -48,7 +48,7 @@ m_columnNames.append (tr ("Value")); m_columnNames.append (tr ("Attribute")); - // Initialize the bachground and foreground colors of special + // Initialize the background and foreground colors of special // classes in the workspace view. The structure is // m_storage_class_colors(1,2,...,colors): background colors // m_storage_class_colors(colors+1,...,2*colors): foreground colors @@ -109,7 +109,7 @@ = ws_class_chars.indexOf (m_scopes[idx.row ()].toLatin1 ()); if (actual_class >= 0) { - // Valid class: Get backgorund (normal indexes) or foreground + // Valid class: Get background (normal indexes) or foreground // color (indexes with offset) if (role == Qt::ForegroundRole) actual_class += ws_colors_count;