Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #5520
    Yutaka Emura
    Keymaster

    EmEditor Professional 7.00.3 RC 1 is available for download. This version fixes bugs including:

    – Snippets plug-in now supports multiple-line drag and drop.
    – Snippets plug-in now supports parameters. See below.
    – Fixed a bug that a huge file may not always save changes after editing.
    – Other bug fixes.

    http://www.emeditor.com/pub/emed7003rc1epx.msi (32-bit)
    (Note: this file is already deleted. Please download the latest released version from http://www.emeditor.com/modules/download2/)

    The portable version can be produced from the Import/Export wizard on the Tools menu after you use the installer. However, the portable version runs slower than one using the Registry.

    If you tried, please post any bug reports or any other feedback on this forum. Thank you!

    Snippets parameters:

    	{Path}
    	{Dir}
    	{Filename}
    	{Ext}
    	{CurLine}
    	{SelText}
    	{Date}
    	{Time}
    	{PickFullPath,title,filter}
    	{PickRelativePath,title,filter}
    	{PickColor}
    	{DefColor}
    

    The filter format should be “Text Files|*.txt|All Files|*.*||”

    Also, any parameters in this format {x} can be used, and a dialog box appears, where a user needs to enter values.

    For instace, the snippet text is:

    	// Title  : {Title}n// Author : {Name}n// Date   : {Date}n// Description : {Description}n
    

    Then you will be prompted to fill those values in:

    snippets-parameters

    After filling in the values, the inserted text would be:

    	// Title  : Sample Program
    	// Author : Yutaka Emura
    	// Date   : 2/29/2008
    	// Description : Fill in your description here
    

     

    #5537
    blackhawk
    Participant

    Wow! I am impressed! You turned this around pretty quick. This is going to be a fantastic time saver!

    Some feedback:

    Drag and drop is great!
    Drop on top of existing should replace?
    It didn’t seem to fill in the parameters. Did I miss something?
    Limitation on text string size; can it be larger? 32 or 64K?
    Can we apply a name to the snippets rather than use the text?

    Sample of code I used to test parameters.


    #==============================================================================
    # {ProcessName}
    #
    #
    # AUTHOR: {Name}
    #
    #5539
    Yutaka Emura
    Keymaster

    It didn’t seem to fill in the parameters. Did I miss something?

    You will need to enter parameter values as described in the above screenshots.

    Limitation on text string size; can it be larger? 32 or 64K?

    Then I should save the data to a text file rather than the Registry. I might work on that.

    Can we apply a name to the snippets rather than use the text?

    I am not sure what this means. Can you please clarify this?

    #5540
    blackhawk
    Participant

    It didn’t seem to fill in the parameters. Did I miss something?
    You will need to enter parameter values as described in the above screenshots.

    I never was prompted for any values. I even tried your example, and it did not work either. Should I have uninstalled before installing? It does say version 7.00.3.

    Can we apply a name to the snippets rather than use the text?
    I am not sure what this means. Can you please clarify this?

    Sorry for not being clear. Instead of the Snippet showing “//Title : {Title}n” in the Snippet window, it would show “C# Program Header”, or “ASP Comment Block”, “HTML Table Block” etc. Basically be able to name the snippets.

    Does this help?

    #5541
    Yutaka Emura
    Keymaster

    blackhawk wrote:

    It didn’t seem to fill in the parameters. Did I miss something?
    You will need to enter parameter values as described in the above screenshots.

    I never was prompted for any values. I even tried your example, and it did not work either. Should I have uninstalled before installing? It does say version 7.00.3.

    Please make sure a backshash is not escaped by another backslash. For instance, if you want to enter {x}, you should not enter {x}. If you drag and drop the sample text above, the plug-in automatically escapes a backslash with another backslash.

    Can we apply a name to the snippets rather than use the text?
    I am not sure what this means. Can you please clarify this?

    Sorry for not being clear. Instead of the Snippet showing “//Title : {Title}n” in the Snippet window, it would show “C# Program Header”, or “ASP Comment Block”, “HTML Table Block” etc. Basically be able to name the snippets.

    Does this help?

    OK. Thanks for your clarification.

    #5542
    blackhawk
    Participant

    Hmmmm….very strange…

    When I drag the following text in to the snippets window:


    {title}
    This is some text {Dude}

    It shows up in the snippets window as:


    {title}
    This is some text {Dude}

    BUT! If I type the text in the snippet window, it works!

    It seems as though the drag and drop is adding the additional backslash.

    #5579
    blackhawk
    Participant

    Is the Snippet enhancement still being worked on?

    #5581
    Yutaka Emura
    Keymaster

    blackhawk wrote:
    Is the Snippet enhancement still being worked on?

    I would like to add enhancements, but I will wait for Version 8 release.

    #5582
    blackhawk
    Participant

    When is version 8 scheduled for?

    #5583
    Yutaka Emura
    Keymaster

    blackhawk wrote:
    When is version 8 scheduled for?

    I cannot tell the future schedule at this time. Maybe months, maybe more than a year.

    #5588
    blackhawk
    Participant

    Ew! I was really looking forward to the changes you were making to the snippets.

    Well, thanks for at least putting in drag and drop!

Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.