Author Topic: open any file in a project by name?  (Read 14068 times)

JeffB

  • Senior Community Member
  • Posts: 326
  • Hero Points: 14
Re: open any file in a project by name?
« Reply #15 on: April 26, 2007, 08:37:43 PM »
Jeff,

In 'filesearch.e', add:
#include "wkspace.e"


In j_append_files_from_project_to_array(), change the call to GetProjectFiles() to:
int status = GetAllFilesInWorkspace(temp_view_id);

I've done nearly zero programming with slickedit macros, so I'm not sure if including another ".e" file is OK...it works, though :)  Perhaps there's a better way.  Or maybe that function isn't even "public" ??

-Jeff