Textpad as external editor

Bugs and issues.
Post Reply
Message
Author
doctorfaust
Posts: 3
Joined: 04.03.2014, 14:12

Textpad as external editor

#1 Post by doctorfaust » 04.03.2014, 14:30

Hi, first of all thanks for this amazing piece of software!
I'm using Freecommander XE build 650 under Windows Vista 32bit (but that's a problem also under W7 32bit), as an external editor I set up Textpad with the parameter %ActivItem%.
When selected one or more files to edit and hit F4 it correctly opens the files in Textpad but also a blank New document.
This behaviour was not present in the old version 2009b where it worked without creating any blank document.
Thanks in advance to try to sort this out!

horst.epp
Posts: 460
Joined: 15.11.2008, 20:18

Re: Textpad as external editor

#2 Post by horst.epp » 04.03.2014, 16:37

To select more than one file you have to use %ActivSel% as parameter.
That works perfect with any editor I have,
but only if I make a toolbar button for it.
The F4 invokation has a bug even in my FCXE x64 version 653 donor.
You have to see how Textpad behaves.

Btw. I stopped years ago using Textpad (licensed version)
because there are so many better editors now, even for free.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3296)
Everything Version 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.67
FreeCommander XE 2024 Build 905 64-bit donor

doctorfaust
Posts: 3
Joined: 04.03.2014, 14:12

Re: Textpad as external editor

#3 Post by doctorfaust » 04.03.2014, 17:06

Thanks horst.epp, I wrote %ActivItem% but I intended %ActivSel%, sorry about that.
Anyway, I created a favourite toolbar with a button for Textpad but it doesn't seem to work :( , it opens correctly the files I selected plus a blank new document.
I tried also to set up with F3 invokation but still.
It seems that the problem is connected to that parameter, in the old version of Freecommander there wasn't the possibility to add such thing and automatically worked like a charm.
I tried also to not declare a parameter but as default %ActivSel% is set.

Yes, I know there are a lot of good free editors out there, PsPad and Notepad++ for example, there are still some behaviours in text selection I like in Textpad that make my coding easier.

joby_toss
Posts: 1345
Joined: 22.07.2009, 21:19
Location: Romania
Contact:

Re: Textpad as external editor

#4 Post by joby_toss » 04.03.2014, 20:59

I can confirm this behavior (e.g. 2 selected files are opened together with 2 blank files) using Notepad2 and "+" parameter (that allows multiple files to be opened simultaneously).

Code: Select all

+ "%ActivSel%"

FCLover
Posts: 63
Joined: 23.04.2012, 18:08

Re: Textpad as external editor

#5 Post by FCLover » 06.03.2014, 04:10

joby_toss wrote:I can confirm this behavior (e.g. 2 selected files are opened together with 2 blank files) using Notepad2 and "+" parameter (that allows multiple files to be opened simultaneously).

Code: Select all

+ "%ActivSel%"
I can't reproduce this with notepad++. I opened two files with %ActivSel% as parameter (without "+") and it opened those two files in two tabs and no blank files were created. NP++ is for text files what FCXE is for File Managers. The best!

joby_toss
Posts: 1345
Joined: 22.07.2009, 21:19
Location: Romania
Contact:

Re: Textpad as external editor

#6 Post by joby_toss » 06.03.2014, 07:29

"+" is a parameter for Notepad2, not FC, and http://forum.freecommander.com/viewtopi ... 122#p18122
But for me it is not an issue as my setup allows me to hit the Return key while multiple files are selected and it works fine.
P.S. NPP is too much for me, I prefer Notepad2.

doctorfaust
Posts: 3
Joined: 04.03.2014, 14:12

Re: Textpad as external editor

#7 Post by doctorfaust » 07.03.2014, 10:03

I can confirm that with Notepad++ and PsPad it works, while with Textpad and Notepad2 not.
Any other experiences with other editors?

slear
Posts: 5
Joined: 22.10.2013, 12:30

Re: Textpad as external editor

#8 Post by slear » 14.03.2014, 18:05

Another problem, always with TextPad. Using %ActivItem% as parameter and trying to open (F4) a text file with name starting with an hyphen (ex. `-2014-03-14.log`) results in an attempt by TextPad to create a document named `014-03-14.log`. With %ActivSel% the empty document is created as explained above.

Post Reply

Who is online

Users browsing this forum: No registered users and 31 guests