EmEditor (text editor) Forum Index
   Plug-in Bug Reports
     macro in snippets bug
Register To Post

Flat Previous Topic | Next Topic
Poster Thread
orzy09
Posted on: 12/11/2009 7:32 am
Just popping in
Joined: 12/11/2009
From:
Posts: 2
macro in snippets bug
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:

<FullPath>`# Interface.write( clipboardData.getData("") );`</FullPath>

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:

<FullPath>c:\test\d:\test\</FullPath>

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

<FullPath>c:\test\d:\test\d:\test\</FullPath>

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

<FullPath>`#`</FullPath>

So this line would also get the result:

<FullPath>c:\test\d:\test\d:\test\</FullPath>

I this a bug or do I something wrong?

Thanks and all the best






Flat Previous Topic | Next Topic


Subject Poster Date
 » macro in snippets bug orzy09 12/11/2009 7:32 am
     Re: macro in snippets but Yutaka 12/11/2009 10:20 am
       Re: macro in snippets but orzy09 12/20/2009 9:35 am

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