Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Basic SciTe Help
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Homme, James  
View profile  
 More options May 18 2012, 10:21 am
From: "Homme, James" <james.ho...@highmark.com>
Date: Fri, 18 May 2012 14:21:36 +0000
Local: Fri, May 18 2012 10:21 am
Subject: Basic SciTe Help

Hi,
I apologize in advance for not always making connections unless they are explained in many words. The version of SciTe I have is the one from AutoItscript.com/. AutoIt runs on Windows, in case what I'm talking about has anything to do with this. But I don't know if what I'm asking has to do with this fact.

I was trying to set up abbreviations that would help me write t2t files. As I was looking through the various properties files and trying to trace what would happen when I worked on a t2t file, I saw that the global properties file has a lot of import lines in it for various languages, and none of them end with ".properties." I'm assuming from this that SciTe somehow knows that it should add this extension. Is this right?

Next Question. When I save or open a file and give it a t2t extension, is that when SciTe understands that it should use my t2t.properties file?

Next question. Should I create an import line in my t2t.properties file for t2t.abbreviations.properties?

Next question. Does all of this mean that my t2t.properties file only acts on t2t files, if t2t.properties is in use?

Thanks for your patience.

Jim

Jim Homme,
Usability Services,
Phone: 412-544-1810.
"Our doubts are traitors, And make us lose the good we oft might win, By fearing to attempt." --William Shakespeare

________________________________

This e-mail and any attachments to it are confidential and are intended solely for use of the individual or entity to whom they are addressed. If you have received this e-mail in error, please notify the sender immediately and then delete it. If you are not the intended recipient, you must not keep, use, disclose, copy or distribute this e-mail without the author's prior permission. The views expressed in this e-mail message do not necessarily represent the views of Highmark Inc., its subsidiaries, or affiliates.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Philippe Lhoste  
View profile  
 More options May 21 2012, 5:43 am
From: Philippe Lhoste <Phi...@GMX.net>
Date: Mon, 21 May 2012 11:43:14 +0200
Local: Mon, May 21 2012 5:43 am
Subject: Re: Basic SciTe Help
On 18/05/2012 16:21, Homme, James wrote:

> I was trying to set up abbreviations that would help me write t2t files. As I was looking
> through the various properties files and trying to trace what would happen when I worked
> on a t2t file, I saw that the global properties file has a lot of import lines in it for
> various languages, and none of them end with ".properties." I'm assuming from this that
> SciTe somehow knows that it should add this extension. Is this right?

Yes.
Note: software's name is SciTE (TE = Text Editor, Sci = Scintilla, the component
displaying the source code).

> Next Question. When I save or open a file and give it a t2t extension, is that when SciTe
> understands that it should use my t2t.properties file?

Not really.
You include t2t (in SciTEUser.properties), and this file should define the extensions
associated to the t2t lexer (or another, close of the syntax you need).

> Next question. Should I create an import line in my t2t.properties file for
> t2t.abbreviations.properties?

Yes, it is not automatic. Most language property files doesn't have an abbreviation file,
these are generally more user-specific. Some languages property files have an API file,
though.
For example, I have a api.$(file.patterns.lua)=$(SciteDefaultHome)/lua5.api
But again, these should go to SciTEUser.properties, unless you always require the API or
abbreviation file to be shipped with your t2t.properties.

> Next question. Does all of this mean that my t2t.properties file only acts on t2t files,
> if t2t.properties is in use?

An import is always imported, regardless of the current file / buffer. Beware of conflicts
with other properties files!
So, your t2t.properties should define only properties for this kind of file.
Don't use
tabsize=4
but
tab.size.*.t2t=4
or
tab.size.$(file.patterns.t2t)=4
if you defined this property (useful if you have several extensions attached to this lexer).

--
Philippe Lhoste
--  (near) Paris -- France
--  http://Phi.Lho.free.fr
--  --  --  --  --  --  --  --  --  --  --  --  --  --


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »