gui: Update how the Run menu works in the syntax window.
authorBen Pfaff <blp@cs.stanford.edu>
Mon, 29 May 2023 20:23:07 +0000 (13:23 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Mon, 29 May 2023 20:23:18 +0000 (13:23 -0700)
commit82ce1c52a87122ed283a760e3d4dab1762558c13
treeb8dd9200038528b025c5e67cc3764a9357b4afb6
parentd4b8d953acd00e9a51b79cb2e345342649c5ff0c
gui: Update how the Run menu works in the syntax window.

Until now, the Run menu had both "Selection", which ran the current
selection, and "Current line", which ran the current line.  This commit
replaces that by a single menu item "Selection", which runs the current
command if there is no selection and all the selected or partially selected
commands if there is a selection.  This behavior matches SPSS.

Requested by Matthias Faeth.
src/ui/gui/psppire-syntax-window.c
src/ui/gui/syntax-editor.ui