POV-Ray : Newsgroups : povray.windows : Windows XP question, kinda dumb : Re: Windows XP question, kinda dumb Server Time
2 Jul 2024 23:58:38 EDT (-0400)
  Re: Windows XP question, kinda dumb  
From: Philippe Lhoste
Date: 5 Nov 2002 06:16:09
Message: <Xns92BD7C9083AE8PhiLho@204.213.191.226>
Peter Popov <pet### [at] vipbg> wrote in
news:5q8orukv52t4q5l3nc5s0sbr4e387k7jd0@4ax.com: 

> On Sun, 27 Oct 2002 09:29:53 -0600, "Robert Chaffe"
> <rob### [at] earthlinknet> wrote:
> 
>>Perhaps you can just change the file extension association (i.e., the
>>file type of ".txt") to SciTE?
> 
> There are well over a hundred file and mime types associated with
> Notepad, and some of them are not even subject to change - it't the
> built-in text editor for system-important ASCII files.
> 
> I haven't tried the recovery console yet. If that fails, I'll mount
> the hard drive on another machine and do it there. If *that* fails,
> I'll burn a bootable CD with a Linux kernel supporting NTFS and give
> that a shot. *That* will surely work :)

You *may* be interested by a little program of mine, that I made to be 
able to view HTML sources from IE in SciTE... Because IE *always* use 
Notepad.
See ProgLauncher at 
http://jove.prohosting.com/~philho/softwares/PhiLhoSoft/freewares/index.ht
ml

Of course, SciTE is small enough and standalone to just replace Notepad, 
but I find this way cleaner.

I also added to SciTE a F12 shortcut to colorize HTML just to this 
purpose, because IE's View source remove file extension (ie. HomePage.html 
becomes HomePage[1]).

Last note: I made SciTE able to open any file with this simple registry 
file:

REGEDIT4

[HKEY_CLASSES_ROOT\*\shell\edit]
@="Edit with &SciTE"

[HKEY_CLASSES_ROOT\*\shell\edit\command]
@="\"C:\\Program Files\\Utilities\\SciTE\\SciTE.exe\" \"%1\""

[HKEY_CLASSES_ROOT\*\shell\print\command]
@="\"C:\\Program Files\\Utilities\\SciTE\\SciTE.exe\" /p \"%1\""

Of course, adjust the path to your copy of SciTE!

Good choice of editor...
I still plan to make a SDL lexer, and now I know how to make 
(almost) unlimited nesting of comments...

-- 
--=#=--=#=--=#=--=#=--=#=--=#=--=#=--=#=--=#=--
Philippe Lhoste (Paris -- France)
Professional programmer and amateur artist
http://jove.prohosting.com/~philho/


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.