Unveiling the Macro Snippet Bug - A Closer Look at Text Editing Flaws in EmEditor

Unveiling the Macro Snippet Bug - A Closer Look at Text Editing Flaws in EmEditor

Kevin Lv8

Unveiling the Macro Snippet Bug - A Closer Look at Text Editing Flaws in EmEditor

Viewing 3 posts - 1 through 3 (of 3 total)

  • Author
    Posts
  • December 11, 2009 at 4:32 pm #7946
    orzy09
    Member
    I want to create the following snippet that insert clipboard data (a filepath copied in the clipboard). I used the syntax provided in the help file. The line with the macro is this:
    `# Interface.write(clipboardData.getData(“”));`

I copied a path (c:test) in the clipboard and executed the snipped. It worked fine. Then I copied another path (d:test) and now the text was appended so I got:
c:testd:test
executing the snippet again without another copy before added the clipboard data again:
c:testd:testd:test
after some testing I found out that the following line sents combined all what I had inserted with the above macro before.
`#`
So this line would also get the result:
c:testd:testd:test
I this a bug or do I something wrong?
Thanks and all the best
December 11, 2009 at 7:20 pm #7949
Yutaka Emura
Keymaster

orzy09 wrote:
I want to create the following snippet that insert clipboard data (a filepath copied in the clipboard). I used the syntax provided in the help file. The line with the macro is this:

`# Interface.write(clipboardData.getData(“”));`

I copied a path (c:test) in the clipboard and executed the snipped. It worked fine. Then I copied another path (d:test) and now the text was appended so I got:

c:testd:test

executing the snippet again without another copy before added the clipboard data again:

c:testd:testd:test

after some testing I found out that the following line sents combined all what I had inserted with the above macro before.

`#`

So this line would also get the result:

c:testd:testd:test

I this a bug or do I something wrong?

Thanks and all the best
This is a bug. I will fix this in the next version. Thanks!
December 20, 2009 at 6:35 pm #7977
orzy09
Member
Hello Mr. Emura,
it works now. Thank you for the quick fix and for a marvellous editor! :-D
All the best.
orzy09

  • Author
    Posts

Viewing 3 posts - 1 through 3 (of 3 total)

  • You must be logged in to reply to this topic.

Also read:

  • Title: Unveiling the Macro Snippet Bug - A Closer Look at Text Editing Flaws in EmEditor
  • Author: Kevin
  • Created at : 2024-10-13 10:13:48
  • Updated at : 2024-10-13 23:10:11
  • Link: https://win-outstanding.techidaily.com/unveiling-the-macro-snippet-bug-a-closer-look-at-text-editing-flaws-in-emeditor/
  • License: This work is licensed under CC BY-NC-SA 4.0.
On this page
Unveiling the Macro Snippet Bug - A Closer Look at Text Editing Flaws in EmEditor