Mercurial > octave-nkf
view test/bug-38565.tst @ 20509:7d8ec197b08b
Scroll list view to display selection (bug #45848)
* LisboxControl.cc (updateSelection, ListBoxControl::ListBoxControl): scroll to item after selection.
author | Pantxo Diribarne <pantxo.diribarne@gmail.com> |
---|---|
date | Tue, 01 Sep 2015 19:05:57 +0200 |
parents | b9e510a1f308 |
children |
line wrap: on
line source
%!function r = f (x) %! if (ischar (x)) %! r = x; %! else %! error ("expecting character string"); %! endif %!endfunction %!assert (eval ("f 10;"), "10");