EmEditor (text editor) Forum Index
   Questions and Answers about EmEditor Core
     Snippet Properties
Register To Post

Threaded | Newest First Previous Topic | Next Topic | Bottom
Poster Thread
pja
Posted on: 9/16/2010 5:09 pm
Just popping in
Joined: 2/15/2008
From: Batemans Bay, NSW, Australia
Posts: 20
Snippet Properties
Hi!

I'm not sure whether this post should be in this list or the suggestions list but here goes...

I am developing my own snippets and have come up against a rather annoying problem. The snippets plugin seems to want to sort the snippets within my snippets folder. I am trying to arrange my snippets in a functional order and don't want them in alphabetic (or any of the other provided orders) I just want them left the way I want them ordered.

EditPlus has a simple solution (I'll quote from a clip text file):

#TITLE=normal(dot)html
#INFO
This Clip Lib is designed to be the HTML equivalent to
...
Created: Sunday, 16 December 2007
Modified: Monday, 27 July 2009

#SORT=n

#T=Blank HTML page
<!doctype html>
<html>
<head>
<title>^!</title>
...


The "#SORT" statement turns sorting on or off.

Can something similar be done with snippets? If not could it please be considered for a future release.

Regards,
Peter


----------------
There is nothing more difficult to take in hand, more perilous to conduct, or more uncertain in its success, than to take the lead in the introduction of a new order of things -- Niccolo Machiavelli, The Prince, ch. 6

Yutaka
Posted on: 9/17/2010 6:22 pm
Webmaster
Joined: 9/28/2006
From: Redmond
Posts: 2401
Re: Snippet Properties
Hello pja,

You can add numbering in front of snippet titles, but that's the only way I can think of. I might consider the sorting option in the future. Thanks for your inputs!


----------------
Yutaka Emura
Developer of EmEditor
http://www.emeditor.com/

pja
Posted on: 9/17/2010 7:56 pm
Just popping in
Joined: 2/15/2008
From: Batemans Bay, NSW, Australia
Posts: 20
Re: Snippet Properties
Numbering the snippets looks very ugly; adding a "no sort" option to a future release would be very nice thank you

Regards,
Peter


----------------
There is nothing more difficult to take in hand, more perilous to conduct, or more uncertain in its success, than to take the lead in the introduction of a new order of things -- Niccolo Machiavelli, The Prince, ch. 6

pja
Posted on: 12/7/2010 10:59 pm
Just popping in
Joined: 2/15/2008
From: Batemans Bay, NSW, Australia
Posts: 20
Re: Snippet Properties
Hi!

Can you tell me whether the option to sort/not sort snippets has been added to EmEditor yet?

If not; do you have any idea when (if) it might be added?

Sorry to nag about this feature but I (and I guess other serious snippet users) would find this useful.

Regards,
Peter


----------------
There is nothing more difficult to take in hand, more perilous to conduct, or more uncertain in its success, than to take the lead in the introduction of a new order of things -- Niccolo Machiavelli, The Prince, ch. 6

CrashNBurn
Posted on: 12/8/2010 2:25 am
Just can't stay away
Joined: 4/8/2010
From:
Posts: 130
Re: Snippet Properties
Looks like it has been to me.

Have you tried right-clicking in the snippet plugin/view?

Arrange By-> Quote:
---------
Name
Type
Text
Tip
Trigger
---------
Ascending
Descending
----------
Auto Arrange

And as far as I can tell, you can drag snippets up and down, and move them where you like.

Though no ListBox headers/sorting. Just the context menu items.

pja
Posted on: 12/8/2010 5:42 am
Just popping in
Joined: 2/15/2008
From: Batemans Bay, NSW, Australia
Posts: 20
Re: Snippet Properties
CrashNBurn,

Thanks for the quick reply.

Yes I have seen these new settings and I know you can drag snippets up and down the list. However, the dragging solution is not permanent. Close down EmEditor and restart it and the snippets are back in sorted order - very frustrating.

What I am after is a "NO SORT" option. I have resorted to numbering snippets to get around the problem - very tacky!

If I'm not doing this correctly, then any help in using these settings would be appreciated.

Regards,
Peter


----------------
There is nothing more difficult to take in hand, more perilous to conduct, or more uncertain in its success, than to take the lead in the introduction of a new order of things -- Niccolo Machiavelli, The Prince, ch. 6

Threaded | Newest First Previous Topic | Next Topic | Top


Register To Post
 
English čeština Deutsch español français italiano 日本語 한국어 Русский 简体中文 繁體中文