function aObj = editfont(aObj)
%AXISTEXT/EDITFONT

%   Copyright 1984-2000 The MathWorks, Inc. 
%   $Revision: 1.13 $  $Date: 2000/06/01 02:52:31 $

%fig = get(A,'Figure');
% scribetextdlg(get(getobj(fig),'Selection'));
%hg = get(A,'MyHGHandle');
%jpropeditutils('jedit',hg);


selection = get(getobj(get(aObj,'Figure')),'Selection');

%get a list of all handles currently selected in figure
hList = subsref(selection,substruct('.','HGHandle'));
if iscell(hList)
    hList=[hList{:}];
end
    
propedit(hList);

