#218 Navigate to the Parent Directory

v5.2
closed-works-for-me
Alan Ezust
core (195)
5
2013-12-09
2008-05-07
mhkhng
No

As I remember, In the jEdit 4.2 version

No matter inside the open or save dialog, when I press the backspace it, it will navigate to the parent directory if the file name field is empty, but this feature was missing in the 4.3 version

i.e. when the current directory is c:\abc and when I press backspace key, it should navigate to c:\

Discussion

  • Robert Schwenn
    Robert Schwenn
    2008-05-07

    Logged In: YES
    user_id=1486645
    Originator: NO

    Seems that You mean the standalone VFS browser.

    In the file open/save dialog this function is assigned to the LEFT key, that works in VFS browser too.

     
  • Alan Ezust
    Alan Ezust
    2008-05-07

    Logged In: YES
    user_id=935841
    Originator: NO

    The shortcut should be '-' or the minus sign, not the backspace.
    there are 2 panes, and the upper one responds to backspace and not minus sign, while the lower pane responds to the minus sign and not the backspace. It is inconsistent in any case, and I will fix it, so that the minus sign works in both panes. And also the left - arrow.
    I didn't like the backspace because sometimes the textarea had focus adn the backspace caused unexpected side-effects there.

     
  • Alan Ezust
    Alan Ezust
    2008-05-07

    • assigned_to: nobody --> ezust
     
  • Alan Ezust
    Alan Ezust
    2008-05-07

    • status: open --> open-works-for-me
     
  • Alan Ezust
    Alan Ezust
    2008-05-07

    Logged In: YES
    user_id=935841
    Originator: NO

    oops. ignore that last comment about '-'.
    It looks like it works as backspace or back-arrow in both tree panes.
    Which widget had focus when you observed those keystrokes did not work?

     
  • mhkhng
    mhkhng
    2008-05-22

    Logged In: YES
    user_id=1313610
    Originator: YES

    In jedit 4.2, both the backspace and back-arrow are work but in 4.3 only the back-arrow is functional (i.e. the backspace have no effect)

    I suggest you to install 4.2 to see the effect

    Moreover, in the 4.2 version if the current directory is c:\abc when i press backspace or back-arrow to navigate to the parent directory, the preselected file name will be abc but this was not preserved in 4.3 version (I don't know whether this is a good feature or not, but it may be great for user who want to go to the directory that above or below it)

     
  • Alan Ezust
    Alan Ezust
    2011-11-17

    • status: open-works-for-me --> closed-works-for-me
     
  • Alan Ezust
    Alan Ezust
    2011-11-17

    backspace It works fine if you shift+tab to the table or the tree panes in the file system browser, to change focus.

    Backspace from the "File Name" textfield doesn't go up a directory anymore, that is true.

    I changed that on purpose and I won't change it back because I never liked it in jEdit 4.2 - I considered it a bug.