Is there an embedded text editor in XYplorer?
-
- Posts: 7
- Joined: 02 Dec 2016 13:23
Is there an embedded text editor in XYplorer?
Hi,
I am very used to CubicExplorer, now sadly dead project, so I have moved on to XYplorer. CubicExplorer have had excellent feature of having embed text editor. How it was working? It have similar feature like "Preview Pane" in XYplorer. But when file was text it was possible to double click in "Preview Pane" and embed editor was displayed in the same place (actually Preview Pane got cursor and menus like File | Save, Edit | Copy, Edit | Paste) and I could quickly add some text to files and save the file all done within file manager itself. Is this possible in XYplorer? I really miss this option a lot.
Regards
I am very used to CubicExplorer, now sadly dead project, so I have moved on to XYplorer. CubicExplorer have had excellent feature of having embed text editor. How it was working? It have similar feature like "Preview Pane" in XYplorer. But when file was text it was possible to double click in "Preview Pane" and embed editor was displayed in the same place (actually Preview Pane got cursor and menus like File | Save, Edit | Copy, Edit | Paste) and I could quickly add some text to files and save the file all done within file manager itself. Is this possible in XYplorer? I really miss this option a lot.
Regards
Re: Is there ebed text editor in XYplorer?
Welcome to the forum.
No, XY doesn't include an embedded text editor for the preview pane
The pro version could add something similar (but not the same!) via a script:
Putting something like this on a keyboard shortcut enables some kind of quick editing a file...
No, XY doesn't include an embedded text editor for the preview pane
The pro version could add something similar (but not the same!) via a script:
Code: Select all
$validExtensions = "bat|cmd|txt|xys|ini";
$file = <curitem>;
$count = get("CountSelected");
end $count > 1, "Only one item may be selected, aborted!";
if !($count) { $file = inputfile(<curpath>, $validExtensions, "Select a file to edit..."); }
if (regexmatches(gpc($file, "ext") , $validExtensions)) {
$data = input("Quick File Edit: $file", , readfile($file), "w", , 800, 500);
writefile($file, $data);
}
One of my scripts helped you out? Please donate via Paypal
Re: Is there an embedded text editor in XYplorer?
I think it would be nice if xyplorer were to "pass" text editing to a favorite external editor. Like when I go to "Customize File Icons" (or some other list of definitions), then go to "Editor Mode." (pencil icon) Would be nice if that text editing job could be opened in an editor such as TED Notepad. (I might've posted this as a request a long time ago.)
ste(phen|ve) kunkel
-
- Posts: 131
- Joined: 28 Feb 2015 19:42
Re: Is there an embedded text editor in XYplorer?
Not being much into writing scripts choose an apple pie simple approach. This works for me on small text files; your mileage might be different.
Select the file then File | to Clipboard | Text. Next hit TB button Edit Clipboard. Not fancy but all right there in the program. Good enough here.
Select the file then File | to Clipboard | Text. Next hit TB button Edit Clipboard. Not fancy but all right there in the program. Good enough here.

Re: Is there an embedded text editor in XYplorer?
And when you are finished, editing the clipboard, what's next? Right clicking the clipboard toolbar button,Good enough here
"Paste Text into New File"?
- It doesn't display ansi (> 128) / unicode chars correctly
- It does not work on all editable file types (e.g. ovpn)
One of my scripts helped you out? Please donate via Paypal
-
- Posts: 131
- Joined: 28 Feb 2015 19:42
Re: Is there an embedded text editor in XYplorer?
The post cautioned TWICE it was not for everybody 

Re: Is there an embedded text editor in XYplorer?
As far as I understand the OP this thread is about editing a file. I may have missed an option (and that's why I asked what comes next after editing the clipboard) but the only one I currently see is writing the content of the clipboard to a new file
One of my scripts helped you out? Please donate via Paypal
Re: Is there an embedded text editor in XYplorer?
Check my message (wrongly named, it is
) 'Command ID does not work' - the topic above this one - once highend pointed out the error of my ways, it is obvious that the script I attached to the first message is working just fine. You could replace Textpad in it with the text editor of your choice and it would work pretty much like an embedded one.

-
- Posts: 7
- Joined: 02 Dec 2016 13:23
Re: Is there an embedded text editor in XYplorer?
@Kucera, how can I open a "Manage User-Defined Command"? Where is it?
Re: Is there an embedded text editor in XYplorer?
Menu - User - Manage Commands... (not available in the free edition)
One of my scripts helped you out? Please donate via Paypal
-
- Posts: 7
- Joined: 02 Dec 2016 13:23
Re: Is there an embedded text editor in XYplorer?
What does TB means? Toolbar or something else... Where is Edit Clipboard option? Is this also not available in free edition?Irwin of Upton wrote:Select the file then File | to Clipboard | Text. Next hit TB button Edit Clipboard.
It is always frustrating to change some good tool for another, always some great feature from one tool not working on another...
Is there any solution available in Free) edition.
Re: Is there an embedded text editor in XYplorer?
TB = Toolbar
or as a toolbar button
In Menu - Edit - Paste SpecialWhere is Edit Clipboard option?
or as a toolbar button
It isIs this also not available in free edition?
One of my scripts helped you out? Please donate via Paypal
-
- Posts: 7
- Joined: 02 Dec 2016 13:23
Re: Is there an embedded text editor in XYplorer?
@highent, thanks now I have found it.
@ Irwin of Upton, I don't really understand. What are you really suggesting?
a) File | To Clipboard | Text
b) Edit | Paste Special | Edit Clipboard
and what now?
It looks like a dead end to me. Except opening text editor and paste edited clipboard.
I don't really understand how is this simpler then double click on text file in the first place and use external text editor? Am I missing something?
It looks like there is no useful solution in Free version, isn't it?
@ Irwin of Upton, I don't really understand. What are you really suggesting?
a) File | To Clipboard | Text
b) Edit | Paste Special | Edit Clipboard
and what now?

It looks like a dead end to me. Except opening text editor and paste edited clipboard.
I don't really understand how is this simpler then double click on text file in the first place and use external text editor? Am I missing something?
It looks like there is no useful solution in Free version, isn't it?
Re: Is there an embedded text editor in XYplorer?
I would say: NopeIt looks like there is no useful solution in Free version, isn't it?
One of my scripts helped you out? Please donate via Paypal
-
- Posts: 131
- Joined: 28 Feb 2015 19:42
Re: Is there an embedded text editor in XYplorer?
Sorry if my post confused some and ruffled the feathers of others.
Will think long and hard before sticking my neck out by offering a suggestion again.
Will think long and hard before sticking my neck out by offering a suggestion again.
