Preview with option highlighted

Features wanted...
Post Reply
CompSystems
Posts: 300
Joined: 09 Nov 2012 14:35
Location: Colombia
Contact:

Preview with option highlighted

Post by CompSystems »

:idea: My idea is to incorporate an option syntax highlighting some programming languages ​​(C + +, JAVA, etc.)

Image

With the purpose of:

1: A better text display
2: No additional software used for this purpose
Last edited by CompSystems on 21 Mar 2013 19:07, edited 2 times in total.

eil
Posts: 1887
Joined: 13 Jan 2011 19:44

Re: Preview with option highlighted

Post by eil »

IMO too many efforts for little purpose. it's not a bid deal to use specific software for what it was designed.
Win 7 SP1 x64 100% 1366x768|1900x1080

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Re: Preview with option highlighted

Post by TheQwerty »

This piqued my interest enough to try to provide a decent scripting solution.
The results can be found here.

CompSystems
Posts: 300
Joined: 09 Nov 2012 14:35
Location: Colombia
Contact:

Re: Preview with option highlighted

Post by CompSystems »

Thanks :appl:

I vote +1 to be included by default on xyplorer

Johanness
Posts: 1
Joined: 01 May 2013 15:04

Re: Preview with option highlighted

Post by Johanness »

@eil: no little purpose at all. The purpose of preview is that you dont have to open the file at all. (You could say the same for imagefiles).
For me this is a crucial part. Download a zip-file and sneak a glance at some of the code in it to check if its worth exploring more shouldn't use my finely tuned programmers editor...

And it shouldn't be too much of a hassle to integrate: there are several tools that use the
http://www.smartftp.com/client/addons/sourcepreview
plugin...

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Re: Preview with option highlighted

Post by TheQwerty »

Johanness wrote:And it shouldn't be too much of a hassle to integrate: there are several tools that use the
http://www.smartftp.com/client/addons/sourcepreview
plugin...
Shame you can't try the preview plugin without a SmartFTP license.

The 32-bit installer refuses to install on 64-bit Windows 7 and their 64-bit installer is incomplete since it doesn't appear to install the 32-bit version as well. Otherwise, There's a chance this could work if you configured XY to preview all your code as Web & Office files.

Oh well...

EDIT: According to the change log the 64-bit installer should install both versions:
https://www.smartftp.com/forums/index.php?/topic/17738-source-preview-handler-v10-change-log/?p=60939 wrote:v1.0 Build 3 7. April 2012
64-bit setup includes 32-bit binaries as well
It didn't seem to for me but I only had it installed long enough to find out you needed a SmartFTP license to use it - though the behavior in XY vs WE did not match leading to my original assumption.

EDIT 2: Don, does XY support Windows' shell Preview Handlers? Or is it only browser plugins?

I ask because I stumbled over a free (but limited) source code preview handler, but it doesn't work in XY and I'm not sure if it didn't install the 32-bit version, needs a reboot, or if XY just didn't even try to load the handler. :?

admin
Site Admin
Posts: 66579
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Preview with option highlighted

Post by admin »

browser plugins.

binocular222
Posts: 1424
Joined: 04 Nov 2008 05:35
Location: Win11, Win10, 100% Scaling

Re: Preview with option highlighted

Post by binocular222 »

So, XYplorer's preview is exactly Web Browser's file handling?
For example, I want to preview .abc file with E:\7Utilities\Sublime Text\sublime_text.exe
Then, what registry entry to modify (or better: is there any software/tool to do this assignment?)
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Re: Preview with option highlighted

Post by TheQwerty »

binocular222 wrote:So, XYplorer's preview is exactly Web Browser's file handling?
For example, I want to preview .abc file with E:\7Utilities\Sublime Text\sublime_text.exe
Then, what registry entry to modify (or better: is there any software/tool to do this assignment?)
Then you need to convince the Sublime Text guys to create a version that can be run within IE.

XY's web previews make use of IE browser plugins - you can't just change registry entries to achieve that.

Post Reply