gui: Make Tab, Shift+Tab skip row head and new-var columns in data sheet. 20121025032015/pspp 20121026032030/pspp 20121027032008/pspp 20121028032032/pspp
authorBen Pfaff <blp@cs.stanford.edu>
Thu, 25 Oct 2012 06:24:25 +0000 (23:24 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Thu, 25 Oct 2012 06:24:25 +0000 (23:24 -0700)
commit731df357f8b7064c82c264b899ce784bf19320bf
treeb3134bfb53b3fbf51a923c17261c1e79977954eb
parent646f9929a8a7222f81190846d94ce4a9db4958d7
gui: Make Tab, Shift+Tab skip row head and new-var columns in data sheet.

Before this commit, Tab and Shift+Tab acted just like Left and Right in
the data sheet, that is, they visit every column except the row head
column and always stay on the same row.  After this commit, Tab and
Shift+Tab skip the row head and new-variable columns.  Also, Tab at the
end of a row goes to the beginning of the next row, and Shift+Tab at the
beginning of a row goes to the end of the previous row.

Suggested by John Darrington.
src/ui/gui/pspp-sheet-view-column.c
src/ui/gui/pspp-sheet-view-column.h
src/ui/gui/pspp-sheet-view.c
src/ui/gui/psppire-data-sheet.c