views:

83

answers:

2

I just installed notepad++ and i am having some problems with macros in it.

i have a simple text file below:

hi 
i am here
this is the third line

i kept the cursor at the first line before "hi".Now i selected start recording macro in the menu.i typed 'hi' before 'hi'(the actual word in the line) like below and pressed [Home] key in the keyboard and then pressed down arrow.Now i selected stop recording macro from the menu

hihi
i am here 
this is the third line

but when i run the macro i am getting the following output

hihi 
hˆi«i am here
hˆi«this is the third line

Could anybody please tell me where is the problem?

+1  A: 

same here as for Matt. For language, I was in normal text.

aparente001
could you please be more clear?
Vijay Sarathi
Vijay, it's easier to clarify if you say which part you don't understand. In the menu bar, choose Language and then Normal Text. I think this may help you, because when I did a new test I got some funny results similar to yours, and then when I chose Normal Text and tried it again, it worked fine again. Did I clarify the right part?
aparente001
A: 

As mentioned in my comment at top, I have also been experiencing this same issue. Strange characters inserted when playing back a macro. This worked OK with previous versions, but appears to have been a bug introduced with version 5.7

It does appear to be an encoding issue. I have been able to workaround this issue by switching to UTF-8 encoding whilst recording the macro - as mentioned in the comment of this bug report.

This has been reported as a bug several times recently. Many are still open, however, one is reported as fixed. And is reported as fixed in the current release (5.8.2) - which also introduces several new features as regards macros. However, nothing later than v5.7 is yet available from the auto-updater within Notepad++ itself. However, you can manually download the latest installer from SourceForge.net.

w3d