Jump to content

SciTE - sintax highlight, color scheme...


Recommended Posts

Hi,

SciTE - sintax highlight, color scheme...

How to use these items in another file extension, like ".def" and ".inc"?

I would to use the following files: Includes.def and Functions.inc

and would like to stay with the same characteristics of a file ".au3"

http://forum.autoitbrasil.com/ (AutoIt v3 Brazil!!!)

Somewhere Out ThereJames Ingram

somewh10.png

dropbo10.pngDownload Dropbox - Simplify your life!
Your virtual HD wherever you go, anywhere!

Link to comment
Share on other sites

Well, maybe I asked the question in the wrong place ...

Could anyone tell me where to put this question?

Explanation: I really like AutoItv3, if I knew how to program in C or any other of its variants, I still preferred to use AutoItv3. I come from old Cpipper5 and after him, only AutoItv3.

Ok, what I like is that the files "#include <*****.au3>" had a different extension like ".Inc" for example. In my opinion, it would be easier to view multiple files in one folder, see:

http://forum.autoitbrasil.com/ (AutoIt v3 Brazil!!!)

Somewhere Out ThereJames Ingram

somewh10.png

dropbo10.pngDownload Dropbox - Simplify your life!
Your virtual HD wherever you go, anywhere!

Link to comment
Share on other sites

I solved my problem,

I created the files: def.properties and inc.properties, based on the file au3.properties.

I edited a few lines, but the line that leaves the way I wanted it: lexer.$(au3)=au3

inc.properties

def=*.inc
filter.def=AutoIt (inc)|$(inc)|
lexer.$(inc)=au3
def.properties

def=*.def
filter.def=AutoIt (def)|$(def)|
lexer.$(def)=au3

The result: it was excellent!

http://forum.autoitbrasil.com/ (AutoIt v3 Brazil!!!)

Somewhere Out ThereJames Ingram

somewh10.png

dropbo10.pngDownload Dropbox - Simplify your life!
Your virtual HD wherever you go, anywhere!

Link to comment
Share on other sites

SciTEUser.properties

au3=*.au3;*.inc;*.def

Might work to.

"Straight_and_Crooked_Thinking" : A "classic guide to ferreting out untruths, half-truths, and other distortions of facts in political and social discussions."
"The Secrets of Quantum Physics" : New and excellent 2 part documentary on Quantum Physics by Jim Al-Khalili. (Dec 2014)

"Believing what you know ain't so" ...

Knock Knock ...
 

Link to comment
Share on other sites

SciTEUser.properties

au3=*.au3;*.inc;*.def

Might work to.

In this way you can have all the features of a file ".au3": compile, run, sintax check?

I not yet tested your example, but in my case works as a legitimate file ".au3".

http://forum.autoitbrasil.com/ (AutoIt v3 Brazil!!!)

Somewhere Out ThereJames Ingram

somewh10.png

dropbo10.pngDownload Dropbox - Simplify your life!
Your virtual HD wherever you go, anywhere!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...