Folder Drawer next/previous document

234 views
Skip to first unread message

OnlineCop

unread,
May 11, 2012, 4:47:05 PM5/11/12
to TextWrangler Talk
Back when we had the Document Drawer (on the right), I was able to
cycle through the files with Command-Option-[ and Command-Option-],
and specify (in Preferences) either to go to the next-recent or
previous-recent file, or next-listed or previous-listed file.

I don't seem to be able to find that preference anymore with the File
drawer.

I have 3 files open. I open a 4th. The file names are alphabetically
sorted, but when I use Command-Option-] to go to the next one, it goes
to the next-recent file (whichever one I had used most recently).

I would like it to, instead, go to the next-listed file (in
alphabetical order), regardless of which one I opened or accessed.

Could this feature be re-added for use in the File drawer?

Steve

unread,
May 15, 2012, 6:28:53 PM5/15/12
to textwr...@googlegroups.com
I had CC'ed this question to the developers, and they wrote back with this response. I'm posting it here, as it will probably help others:

BBEdit does still offer an expert prefs option which you can set to obtain this behavior.
Cribbing from the "Expert Preferences" page of BBEdit's help book:
====
 * When using the "Previous Document" and "Next Document" commands
   on the View menu, or the navigation arrows in the navigation bar,
   the order in which BBEdit navigates documents is determined by
   the order in which they were opened. If you prefer, these
   commands can be made to navigate the documents in the order shown
   in the file list.
   [ by issuing the following Terminal command, on a single line ]
defaults write com.barebones.bbedit SurfNextPreviousInDisplayOrder -bool YES

Looking at TextWrangler's defaults with 

    defaults read com.barebones.textwrangler

I found no mention of SurfNextPreviousInDisplayOrder, but added it anyway with the following (and then restarted TextWrangler):

   defaults write com.barebones.textwrangler SurfNextPreviousInDisplayOrder -bool YES

This worked!

I'm posting this follow-up for anyone needing to do this in the future.

Patrick Woolsey

unread,
May 15, 2012, 7:34:02 PM5/15/12
to textwr...@googlegroups.com
Steve <onli...@gmail.com> sez:
>I had CC'ed this question to the developers, and they wrote back with this
>response. I'm posting it here, as it will probably help others:


Likewise for future reference, this option, along with many others, is
detailed in the "Expert Preferences" page of TextWrangler's help book.
(Choose Help -> TextWrangler Help to open the help book.)



Regards,

Patrick Woolsey
==
Bare Bones Software, Inc. <http://www.barebones.com>
P.O. Box 1048, Bedford, MA 01730-1048
Reply all
Reply to author
Forward
0 new messages