[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: configure Notepad++ as editor

From: Andrey Repin <anrdaemon_at_freemail.ru>
Date: Thu, 22 Oct 2009 23:34:14 +0400

Greetings, Bob Archer!

>> > I am trying to set up my client so that it uses Notepad++ as the
>> editor.
>>
>> > I have modified the config file and set it as follows:
>>
>> > editor-cmd = "/Program Files (x86)/Notepad++/notepad++.exe"
>>
>> > When I issue something like:
>>
>> > svn pe snv:mergeinfo .
>>
>> > The editor does open with the property values shown. But after about
>> 5
>> > seconds my editor tells me that the file svn-prop.tmp is gone... and
>> when I
>> > look at the cmd line it is at the command prompt again. Is there
>> something
>> > special I need to do to tell it to wait until I close the editor?
>>
>> Use bat file with something like
>> start /wait "C:/Program Files (x86)/Notepad++/notepad++.exe"
>>

> That doesn't work. It just seems to open another cmd window... it never
> opens the editor. If I close the cmd window it asks me about terminating the
> batch. If I add a %1 to what you put above it tries to open the .tmp file
> and wants me to find an app to open it with.

...
Well... consider you caught me in a good mood.

@echo off
start "" /wait "C:/Program Files (x86)/Notepad++/notepad++.exe" %*

"start /?" actually tell you this.

--
WBR,
 Andrey Repin (anrdaemon_at_freemail.ru) 22.10.2009, <23:30>
Sorry for my terrible english...
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2410387
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-10-22 21:36:06 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.