> Ok, so use of the monospace font can be turned off when opening the
> Options menu but it doesn't stick after closing Scite. What must I do
> to have monospace permanently disabled ? Please ? What file and line
> must I edit ?
Your symptoms don't make any sense to me. Possibly you are using a
different distribution of SciTE to the standard one from
scintilla.org.
Neil
> I'm using version 1.57 that I downloaded from the official website.
The current version is 1.77. scintilla.org links to other sites for
alternate packages such as installers. Looks like you followed the
link to GNUWin which hasn't been updated for some time. I will remove
the link.
Neil
> I see. Could you give me the link to the non-default-monospace
> installer for Vista, please ? Thaaanks!
I don't distribute installers for SciTE. Instead I distribute ZIP
files containing the software which have to be unzipped and placed
into the start menu etc. by hand. The current version, which does not
even allow setting monospace mode in the properties file is at
http://prdownloads.sourceforge.net/scintilla/wscite177.zip?download
Neil
Old-timers on Windows often click-and-drag from Windows Explorer
into SciTE in order to open any file as text in SciTE. Sometimes,
other applications use extensions, such as *.eml for e-mail files,
but you don't want to override those default "open" settings.
Normally, I don't want to change most of the default settings, and
prefer to click-and-drag.
--
Cheers,
Kein-Hong Man (esq.)
Kuala Lumpur, Malaysia
This can be done through the registry. At least that's how I do it, I never use system's
settings for that. And I don't know Vista's way...
You can set the preferences for each extension, or define the PerceivedType for them, and
set SciTE as default editor for this perceived type.
Extract of my SciTE.reg file:
Windows Registry Editor Version 5.00
; Register SciTE in the list of known applications.
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\SciTE.exe]
"Path"="C:\\Program Files\\SciTE"
@="C:\\Program Files\\SciTE\\SciTE.exe"
; For the PerceivedType=text setting...
[HKEY_CLASSES_ROOT\SystemFileAssociations\text\shell\edit\command]
@="\"C:\\Program Files\\SciTE\\SciTE.exe\" \"%1\""
[HKEY_CLASSES_ROOT\SystemFileAssociations\text\shell\open\command]
@="\"C:\\Program Files\\SciTE\\SciTE.exe\" \"%1\""
; To put SciTE in the OpenWithList context menu item...
;~ [HKEY_CLASSES_ROOT\*\OpenWithList\SciTE.exe]
;~ [HKEY_CLASSES_ROOT\SystemFileAssociations\text\OpenWithList\SciTE.exe]
;~ [HKEY_CLASSES_ROOT\.htm\OpenWithList\SciTE.exe]
; Associate SciTE to any file.
; You can double-click on files without defined open or edit verb, they will open in SciTE
(actually no longer works in WinXP, but at least you have the entry in the context menu).
[HKEY_CLASSES_ROOT\*\shell\SciTE]
; English
@="Edit with &SciTE"
; French
@="Éditer avec &SciTE"
[HKEY_CLASSES_ROOT\*\shell\SciTE\command]
; Adjust the path, of course
@="\"C:\\Program Files\\SciTE\\SciTE.exe\" \"%1\""
[HKEY_CLASSES_ROOT\.properties]
@="propertiesfile"
"PerceivedType"="text"
[HKEY_CLASSES_ROOT\propertiesfile]
@="SciTE properties"
[HKEY_CLASSES_ROOT\propertiesfile\DefaultIcon]
@="C:\\Program Files\\SciTE\\SciTE.exe"
Change paths as needed. No guarantees, etc.
--
Philippe Lhoste
-- (near) Paris -- France
-- http://Phi.Lho.free.fr
-- -- -- -- -- -- -- -- -- -- -- -- -- --
Looks like the real problem is that many of us are avoiding Vista
like plague :-) :-), and as such, I have no first-hand knowledge,
and Philippe's method is probably XP-tested as well. Any Vista
users who can share their best practices? :-)
It's a text file you create, then right-click it and you get a
"Merge" option (on WinXP, :-) heh heh, hope it works for you...),
which merges the items to the registry. You can edit the registry
by hand also, but using a .reg file is easier.
> On Jan 22, 3:12 pm, Philippe Lhoste <Phi...@GMX.net> wrote:
>> On 22/01/2009 07:28, bergamasque wrote:
>> [snip]
As Chunlei says, you can save it anywhere as a .reg file, then
right-click and run the 'Merge' option (on WinXP). It's basically
a convenience method for adjusting registry settings.
I would be very interested to hear how it turns out, and I'm sure
others as well. It might help others down the line, because it's
likely Windows 7 users will need to follow such things too.
I did search Google for information on doing this in Vista, and it
generally looks like Vista is a step backwards from XP on this (or
just different, but not well-received by XP users), some .reg
files might not even work, and a lot of advice was about manual
adjustment or third-party utilities. So, it would benefit the list
if you (or anyone else using Vista) could see this through and
tell us how it went. IIRC, the Vista file association mechanism is
different from XP, and there was some sort of association stack
involved, so your experiences on this way of automatically setting
file associations will help other users of SciTE on Vista.
So apparently it had no real effect on Vista... bummer. On WinXP,
SciTE does not show on "Other Programs" as well, but there is a
"Browse..." button (Parcourir... in your pix?) where you can
locate the SciTE executable file for Windows to make the association.
> Maybe it has something to do with the fact I didn't use an installer
> but downloaded a .zip that I extracted and stuck by hand in the
> Programs folder, so maybe Vista refuses to aknowledge it's there
> unless I open the program directly by clicking on the SciTE.exe file ?
I've seen third-party tools for doing file associations for Vista,
but dunno if they are reliable. Might be worth a shot, perhaps...
> Anyway, thanks for your interest.
>
> On Jan 23, 1:03 pm, KHMan <keinh...@gmail.com> wrote:
>> bergamasque wrote:
>>> So I create a file named 'scite.reg', paste the following in it:
>>> Windows Registry Editor Version 5.00
>>> [snip]
[snip snip]
So apparently it had no real effect on Vista... bummer. On WinXP,
SciTE does not show on "Other Programs" as well, but there is a
"Browse..." button (Parcourir... in your pix?) where you can
locate the SciTE executable file for Windows to make the association.
It is exactly what I have been doing, browse for the SciTE.exe file, highlight it, click 'open' or double-click it, which then brings me back to that screen I took a screenshot of, where the SciTe icon *still* won't show under 'Other programs' and then when the file opens, it opens in _Notepad_.