Changeset 140


Ignore:
Timestamp:
Sep 30, 2010, 11:09:51 AM (9 years ago)
Author:
tjniskan
Message:
  • Fixed: M-files beginning with a dot are now ignored in the plugins

folder (thanks Mikko)

  • Escape key now closes the multiple file dialog (aedes_juigetfiles)

M aedes.m
M aedes_revision.m
M aedes_juigetfiles.m

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • aedes.m

    r137 r140  
    1042010420        ind = regexpi(plugin_folders,'^\.');
    1042110421        plugin_folders = {plugin_folders{cellfun(@isempty,ind)}};
     10422 
     10423  % Remove files that start with a dot (hidden files)
     10424  ind = regexpi(plugin_files,'^\.');
     10425        plugin_files = {plugin_files{cellfun(@isempty,ind)}};
    1042210426       
    1042310427        % Remove files that don't have .m extension
    1042410428        ind = regexpi(plugin_files,'\.m$');
    1042510429        plugin_files = {plugin_files{~cellfun(@isempty,ind)}};
     10430 
    1042610431       
    1042710432        % Go through the subfolders
  • aedes_juigetfiles.m

    r134 r140  
    8888          'windowstyle','modal',...
    8989          'handlevisibility','off',...
    90           'resize','off');
     90          'resize','off',...
     91          'keypressfcn',@l_KeyPressFcn);
    9192H.fh=fh;
    9293%pos = [5 60 200 420];
     
    125126tree = uitree(fh,'Root',rootnode,'position',pos);%,'ExpandFcn',@l_ExpFcn);
    126127set(tree,'NodeExpandedCallback',{@l_ExpFcnAlt,tree})
    127 
     128get(tree)
    128129
    129130%% Create uitree for files ---------------------------
     
    13041305
    13051306% To be written...
     1307
     1308%%%%%%%%%%%%%%%%%%%%%%%%%%%%
     1309% Key press callback
     1310%%%%%%%%%%%%%%%%%%%%%%%%%%%%
     1311function l_KeyPressFcn(h,evd)
     1312
     1313% Exit with Esc
     1314if strcmp(evd.Key,'escape')
     1315  uiresume(gcbf)
     1316end
  • aedes_revision.m

    r139 r140  
    9393% bash-script every time it is called so that this file "aedes_revision.m" is
    9494% always in the list of committed files. DO NOT EDIT THE NEXT LINE!!!
    95 % - SVN Hook -
     95% - Svn Hook -
Note: See TracChangeset for help on using the changeset viewer.

Powered by Trac 1.0.9.Copyright © Juha-Pekka Niskanen 2008