How to set Scite as the program by default ?

62 views
Skip to first unread message

bergamasque

unread,
Dec 6, 2009, 9:17:05 AM12/6/09
to scite-interest
Hi, I'm on Vista 32-bit and I'm using the latest Scite 2.01. I still
can't manage to set Scite as my default text editor for some files
(.php, .txt, etc.). When I try to set a program by default for any
kind of file, Scite never appears in the list. I always have to open
Scite first and then drag my file into it. How can I set Scite as the
program by defult for the files I want ?

Rob MacGregor

unread,
Dec 6, 2009, 1:05:26 PM12/6/09
to scite-i...@googlegroups.com
If you use the "Open with..." context menu you can define SciTE as the
default for that filetype.

--
Please keep list traffic on the list.

Rob MacGregor
Whoever fights monsters should see to it that in the process he
doesn't become a monster. Friedrich Nietzsche
Message has been deleted

bergamasque

unread,
Dec 6, 2009, 1:48:25 PM12/6/09
to scite-interest
Hi, thanks, that is what I do, but somehow I still can't manage to
set
Scite as a program by default. For some reason, after I have right-
clicked on a file, selected 'Choose program by default' and selected
'scite.exe', the program icon fails to appear in the list of
programs,
right at the final step. I retraced my steps in screenshots here:
http://i45.tinypic.com/2r635gw.jpg - that only annoys me because when
I
installed Scite on my two previous laptops, setting it by default
always worked, but it just won't anymore now.

In the meantime, anyone could let me know how to make the text wrap
by
default too ? That would save me some more clicks whenever I
open .primscript or .php files which is like, 50 times a day.

On Dec 6, 7:05 pm, Rob MacGregor <rob.macgre...@gmail.com> wrote:

KHMan

unread,
Dec 6, 2009, 7:56:35 PM12/6/09
to scite-i...@googlegroups.com
bergamasque wrote:
> [snip]
> In the meantime, anyone could let me know how to make the text wrap
> by
> default too ? That would save me some more clicks whenever I
> open .primscript or .php files which is like, 50 times a day.

It's in SciTEDoc.html

Almost everyone who starts using SciTE, including myself, fails to
read it and consequently, miss out on a lot of the goodies SciTE
has to offer. A careful reading SciTEDoc.html is definitely
rewarding to the new user.

--
Cheers,
Kein-Hong Man (esq.)
Kuala Lumpur, Malaysia
Message has been deleted

Marcel Dejean

unread,
Dec 6, 2009, 11:06:48 PM12/6/09
to scite-i...@googlegroups.com
On Sun, Dec 6, 2009 at 1:48 PM, bergamasque <berga...@gmail.com> wrote:
> Hi, thanks, that is what I do, but somehow I still can't manage to
> set
> Scite as a program by default. For some reason, after I have right-
> clicked on a file, selected 'Choose program by default' and selected
> 'scite.exe', the program icon fails to appear in the list of
> programs,

Try changing the default in File Types in Folder Options (control
panel->folder options->file types->"change")
If that doesn't work you can try pressing advanced and changing what
the Open action uses.

--
Marcel Dejean, IT Assistant
Northern Manhattan Improvement Corp
76 Wadsworth Ave, New York, NY 10033
Tel: 212-822-8300 Fax: 212-740-9646

Our mission is to serve as a catalyst for positive change in the lives of the
people in our community on their paths to secure and prosperous futures.

KHMan

unread,
Dec 6, 2009, 11:41:55 PM12/6/09
to scite-i...@googlegroups.com
bergamasque wrote:
> I opened the SciTEGlobal.properties, and it says this:
>
> # Wrapping of long lines
> #wrap=1
> #wrap.style=2
> #cache.layout=3
> #output.wrap=1
> #output.cache.layout=3
> #wrap.visual.flags=3
> #wrap.visual.flags.location=3
> #wrap.indent.mode=1
> #wrap.visual.startindent=4
>
> I don't understand, according to this, shouldn't my lines wrap by
> default already ? I couldn't find the SciTEUser.properties nor the
> SciTEDirectory.properties and I did find SciTE.properties but I did
> not understand that file.

The '#' comments out the option.

You just create them if they don't exist; they are intended to
override the global settings.

It is customary to leave SciTEGlobal.properties intact and add a
per-user SciTEUser.properties to override or change any of the
global defaults. Then say, if you have a software project that
uses a specific kind of formatting, SciTEDirectory.properties can
customize SciTE on a per-directory tree basis.

PS. this is re-sent, there was a delivery failure the first time
around and I want to test GGroups

bergamasque

unread,
Dec 7, 2009, 8:28:50 AM12/7/09
to scite-interest
Thanks, that worked!

bergamasque

unread,
Dec 7, 2009, 8:33:01 AM12/7/09
to scite-interest
Once I open the 'Folder options', I don't find a 'File types' button/
checkbox. But that's alright, I think I can just get used to right-
clicking and using 'Edit with Scite'.

On Dec 7, 5:06 am, Marcel Dejean <doodle...@gmail.com> wrote:

Marcel Dejean

unread,
Dec 8, 2009, 9:40:19 PM12/8/09
to scite-i...@googlegroups.com

Randy Kramer

unread,
Dec 9, 2009, 9:13:58 AM12/9/09
to scite-i...@googlegroups.com
On Sunday 06 December 2009 10:30:46 pm bergamasque wrote:
> I opened the SciTEGlobal.properties, and it says this:
>
> # Wrapping of long lines
> #wrap=1
> #wrap.style=2
> #cache.layout=3
> #output.wrap=1
> #output.cache.layout=3
> #wrap.visual.flags=3
> #wrap.visual.flags.location=3
> #wrap.indent.mode=1
> #wrap.visual.startindent=4
>
> I don't understand, according to this, shouldn't my lines wrap by
> default already ? I couldn't find the SciTEUser.properties nor the
> SciTEDirectory.properties and I did find SciTE.properties but I did
> not understand that file.

The leading # (in many contexts, including this), marks something as a
comment (or "comments it out")--to make the options take effect, remove
the leading #.

In this case, the first line is really intended as a comment (# Wrapping
of long lines) to mark the beginning of the configuration options
related to wrapping. I think the second line is the important one to
uncomment (remove the #)--you may have to experiment with others...

Hope this helps!

Randy Kramer
Reply all
Reply to author
Forward
0 new messages