view test/classes/@Pork/set.m @ 18551:0f3bc7ccb875 gui-release

update the completion list of the editor while typing * file-editor-tab.cc (constructor): disable removing the list at start; (handle_cursor_moved): show new auto completion list when list is shown
author Torsten <ttl@justmail.de>
date Tue, 18 Feb 2014 07:33:45 +0100
parents b1283d4c06c2
children
line wrap: on
line source

function s = set (s, varargin)

  propArgs = varargin;
  while (length (propArgs) >= 2)
    propName  = propArgs{1};
    propValue = propArgs{2};
    propArgs  = propArgs(3:end);
    switch propName
      case 'gurk'
        s.gurk = propValue;
      otherwise
        s.Spork = set (s.Spork, propName, propValue);
    end
  end

end