Re: ED load file

new topic     » goto parent     » topic index » view thread      » older message » newer message

A while back I made this suggestion to Rob regarding
file browsing and selecting from Ed.ex:

I'd like for RDS to consider adding a simple directory
browse and file select feature to ed.ex.

The feature I am thinking of would be implemented in a
fashion similar to the "file_history" feature which
uses the arrow keys to scroll thru a file history. 
Essentially, whenever an attempt is made to load a
directory path without a filename into the editor, the
editor would read the contents of the directory into a
sequence with the top file in the directory displayed
on the message bar. If the file is an editable file it
would be loaded by hitting the enter key.  If the user
desires to browze the current directory he would be
able to do so with the arrow keys in the same manner
as the file_history can now be "scrolled" through. If
the file selected is another directory, that directory
becomes the current one and the same procedure
applies.  Once an editable file is selected, the
actual file_history is restored.

This seems to me to be an unobtrusive feature that
will fit seamlessly into ed.ex's minimalist user
interface.





--- Ken Rhodes <ken_rhodes30436 at yahoo.com> wrote:
> 
> 
> --- Inkru <inkru at mailc.net> wrote:
> 
> > 
> > Yes, that is true. If you get a letter wrong, no
> > file loads Does this
> > mean you have to memorize all the filenames of the
> > files you want to
> > try out while learning Euphoria? As well as the
> > pathnames.  Actually,
> > I don't think it really tells you what pathname it
> > is currently using.
> > So you need an absolute pathname, unless you are
> > sure where it is now.
> 
> You can list files in any directory from ed by 
> "esc" & "d" and "dir" or "ls" if your using Linux.
> 
> Console/Non-GUI editors can be frustrating to learn
> on
> the front end.  If you are using Linux I can show
> you
> how to add access to the EuGTK file selector from
> Irv's Library with several short lines of euphoria
> code.  Otherwise, there is Carl White's version of
> David Cuny's DOS editor and numerous Euphoria
> Windows
> editors available from the User's Contributions
> page.
> 
> Regards,
> Ken Rhodes
> 
>
> 
> 
> TOPICA - Start your own email discussion group.
> FREE!
>
>
>

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu