----- "Detlev Offenbach" <[email protected]> wrote:
> On Montag, 9. März 2009, Jim Baack wrote: > > ----- "Detlev Offenbach" <[email protected]> wrote: > > > On Sonntag, 8. März 2009, Jim Baack wrote: > > > > File types with some extensions are not opening in the Eric > editor > > > > > > when > > > > > > > selected from the Project Viewer. It seems to grab the OS > default > > > > > > for that > > > > > > > file type and open it in that editor. Do I need to set these by > file > > > > > > type > > > > > > > somewhere? Thanks. > > > > > > > > Jim > > > > _______________________________________________ > > > > Eric mailing list > > > > [email protected] > > > > http://www.riverbankcomputing.com/mailman/listinfo/eric > > > > > > Which part of the Project Viewer do you mean? All files listed on > the > > > Sources > > > tab should be opened in an editor. Files listed on the Others tab > are > > > treated > > > differently. Here the mimetype is determined. If it starts with > > > "text/", it > > > is opened in an editor. Otherwise it is opened with the > associated > > > application. > > > > > > > > > Regards, > > > Detlev > > > -- > > > Detlev Offenbach > > > [email protected] > > > > Thanks, Detlev. That makes sense. > > > > I am in the Others tab - working with Zope skin files. Most open in > the > > editor OK - but the *.cpt files, although actually XHTML files, want > to > > open in Kate (my default KDE editor). I don't have too many so it's > not a > > big deal. It always worked fine in Eric3 - I've just recently moved > up to > > 4. > > That is a change in eric4, which enables it to open unknown or binary > files. > You have two choices to make this work. > > 1.) Correct your mimetypes files. > > 2.) Define *.cpt files as "Forms". That will put them on the forms > viewer from > where you can open them in the editor via the context menu. > > 3.) Write a Zope plugin (like the one for TurboGears) with basic Zope > support. > That would add a Zope project type and stuff like the one described in > 2.) > > For the short term you should follow 2., but 3.) would be better. > > Regards, > Detlev > -- > Detlev Offenbach > [email protected] Thanks, Detlev. 2.) works well for me and is better than using the Others tab anyway. I agree and will tackle 3.) if I have some time. Jim _______________________________________________ Eric mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/eric
