Sort order of methods list

181 views
Skip to first unread message

tpneumat

unread,
Oct 11, 2011, 11:40:57 AM10/11/11
to BBEdit Talk
In the old version of BBEdit 9.x the listing of methods in the
dropdown was sorted by apha. For example:

http://dl.dropbox.com/u/848795/dev/bbeditsort.png

However, new version sorts by order inside the file. Sorting by Alpha
was great because it provided an index of methods regardless of order
and that made it easy to locate any method in your file quickly.
Anyone know if there a way to change this setting back to sorting
alpha?

thanks,

Jeremy

Christopher Stone

unread,
Oct 11, 2011, 1:52:44 PM10/11/11
to bbe...@googlegroups.com
On Oct 11, 2011, at 10:40, tpneumat wrote:
{snip}
Sorting by Alpha was great because it provided an index of methods regardless of order and that made it easy to locate any method in your file quickly. Anyone know if there a way to change this setting back to sorting alpha?
______________________________________________________________________

Expert Preferences:
  • By default, items on the function popup menu are sorted by the order of their appearance in the file, and you can hold down the Shift key when clicking on the current function display to sort them by name instead. You can reverse the behaviors but setting sort-by-name as the default, in which case holding the Shift key down will sort the function menu by order in the file:

    defaults write com.barebones.bbedit FunctionMenuSortItemsByName -bool YES #sort the menu by name

-ccs

Rich Siegel

unread,
Oct 11, 2011, 2:06:34 PM10/11/11
to bbe...@googlegroups.com
On Tuesday, October 11, 2011, Christopher Stone
<listm...@thestoneforge.com> wrote:

>defaults write com.barebones.bbedit FunctionMenuSortItemsByName -bool
>YES #sort the menu by name

I'm not even sure why that's there; there's a GUI setting in the
Appearance prefs that should do the job...

R.
--
Rich Siegel Bare Bones Software, Inc.
<sie...@barebones.com> <http://www.barebones.com/>

Someday I'll look back on all this and laugh... until they
sedate me.

tpneumat

unread,
Oct 11, 2011, 4:05:11 PM10/11/11
to BBEdit Talk
Thanks!

On Oct 11, 1:06 pm, Rich Siegel <sie...@barebones.com> wrote:
> On Tuesday, October 11, 2011, Christopher Stone
>

Govinda

unread,
Oct 12, 2011, 11:44:52 AM10/12/11
to BBEdit Talk

> In the old version of BBEdit 9.x the listing of methods in the
> dropdown was sorted by apha.  For example:
>
> http://dl.dropbox.com/u/848795/dev/bbeditsort.png

Jeremy,

could you explain to me how you even get any such list up in your view
the first place.
That looks like it might be useful to me, but I was unable to find it
in the docs just now.

Thanks
-Govinda

John Delacour

unread,
Oct 12, 2011, 7:19:57 PM10/12/11
to bbe...@googlegroups.com
At 08:44 -0700 12/10/11, Govinda wrote:

> > In the old version of BBEdit 9.x the listing of methods in the
>> dropdown was sorted by apha. For example:
>>
> > http://dl.dropbox.com/u/848795/dev/bbeditsort.png
>

>could you explain to me how you even get any such list up in your view
>the first place.
>That looks like it might be useful to me, but I was unable to find it
>in the docs just now.

Under the title bar of a window you have a pop-up that may say "(no
symbol selected)" until you are within a subroutine etc.

In a Perl script I sort the subroutines the way I want them to be
sorted in the pop-up menu, which may or may not be in alphabetical
order. Same for CSS etc. I don't recall it being any different in
v.9. and I would not want to have alphabetical order imposed on me.

JD

Govinda

unread,
Oct 13, 2011, 11:15:30 AM10/13/11
to BBEdit Talk

> Under the title bar of a window you have a pop-up that may say "(no
> symbol selected)" until you are within a subroutine etc.

Thanks John, but I don't see that. Am I an idiot here, or what am I
missing more subtle than obvious?
??

Here is a screen shot of a sample doc open in my project.. as I look
for that popup in vain:
http://blisscode.com/GovTemp/whatPopup.jpg

-Govinda

Fritz Anderson

unread,
Oct 13, 2011, 11:18:55 AM10/13/11
to bbe...@googlegroups.com
On 13 Oct 2011, at 10:15 AM, Govinda wrote:

>>
>> Under the title bar of a window you have a pop-up that may say "(no
>> symbol selected)" until you are within a subroutine etc.
>
> Thanks John, but I don't see that. Am I an idiot here, or what am I
> missing more subtle than obvious?

In the Appearance panel of Preferences, turn on the Navigation Bar items as desired (particularly, the Function Menu).

— F

John Delacour

unread,
Oct 13, 2011, 12:00:32 PM10/13/11
to bbe...@googlegroups.com

No idea what can be happening. The item is missing, certainly, if
you make a new anonymous text window, but you only need to paste
some valid code into it, even without setting a language for the doc,
and the menu button will appear. But you seem to be missing the
whole bar beneath the title bar.

What do you see in the new window if you type control-command-n?

JD


Govinda

unread,
Oct 13, 2011, 1:57:55 PM10/13/11
to BBEdit Talk
> In the Appearance panel of Preferences, turn on the Navigation Bar items as desired (particularly, the Function Menu).

That was it ^^^. Thanks Fritz!

John thank you too, for taking the time to ponder it on my
behalf. :-)

-Govinda
Reply all
Reply to author
Forward
0 new messages