Re: OpenFileUnderCursor
Brought to you by:
set
From: salvador <sal...@in...> - 2001-09-24 13:48:56
|
"Thiago F.G. Albuquerque" wrote: > The other day I wrote: > > > OpenFileUnderCursor doesn't work with <filename.h>, just with "filename.h" > > It turned out that this is not always the case. Sometimes it works just with <filename.h>, > sometimes just with "filename.h" and sometimes with neither of them. I don't know the reason and I > was not able to identify the circumstances under which each of these errors occurs. I guess this > is not very helpful, isn't it? :-/ The problem is simple: For RHIDE the editor looks in %DJDIR%/include and the current directory if the file isn't there fails. For Linux it just looks in the current directory (even worst). > There is another thing. I don't know if this is already fixed in SETEDIT (in which case I > apologize), but this is something I noticed in RHIDE. When you have something like this: > > #include "Lexer/Interface.h" > > OpenFileUnderCursor tries to open "Interface.h" in current directory. Can this be fixed? RHIDE provides your own mechanism to load files under cursor. It uses the editor, but Robert provides a function that is just in the middle of the process. So any complains about it goes to RHIDE list ;-) About it. After discovering I wasn't even trying to look in /usr/include for Linux I added a new configuration dialog to setup a list of directories where the editor will search. I had it in my todo because I code setedit using setedit (not RHIDE) and I needed to have quick access to my headers (spread in 5 directories). That's in 0.4.49, lamentably I don't have TV in S.F. and newer versions of the editor needs a TV that's newer. So I must first release a new TV, but I must close some bug reports first .... will be available soon, but all of you must be patient. SET -- Salvador Eduardo Tropea (SET). (Electronics Engineer) Visit my home page: http://welcome.to/SetSoft or http://www.geocities.com/SiliconValley/Vista/6552/ Alternative e-mail: se...@co... se...@ie... Address: Curapaligue 2124, Caseros, 3 de Febrero Buenos Aires, (1678), ARGENTINA Phone: +(5411) 4759 0013 |