Sign in to follow this  
Followers 0
Wolfgang

SciTE - au3.keywords.properties

8 posts in this topic

I wrote myself some user defined functions and liked to make them be known by SciTE. So I placed my *.au3 file under <AutoIt3>\Include and changed the files <AutoIt3>\SciTE\api\api.au3 for the tool tips and <AutoIt3>\SciTE\au3.keywords.properties for the syntax highlighting. The tool tips now work well, but the syntax highlighting doesn't. What's gone wrong?

Share this post


Link to post
Share on other sites



Wolfgang,

Add the UDF function names in this file (assuming you have a standard install). You may have to create it:

"C:\Program Files\AutoIt3\SciTE\Properties\au3.userudfs.properties"

Use this syntax:

au3.keywords.user.udfs=_foo_func_1 _foo_func-2 \
    _foo_func-3

Jos put this in a while ago so it was easier to decide where to put the UDF names - and so they would not get overwritten with each new install.

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites

I wrote myself some user defined functions and liked to make them be known by SciTE. So I placed my *.au3 file under <AutoIt3>\Include and changed the files <AutoIt3>\SciTE\api\api.au3 for the tool tips and <AutoIt3>\SciTE\au3.keywords.properties for the syntax highlighting. The tool tips now work well, but the syntax highlighting doesn't. What's gone wrong?

This is what you need.

http://www.autoitscript.com/forum/index.php?showtopic=91886

Share this post


Link to post
Share on other sites

I tried both: I Manually created an au3.userudfs.properties file an I let it UDFManager generate. Both output was the same, but none did work.

I use SciTE, that comes along with the installation of AutIt 3. Maybe this not what you call the "full version"? So I tried downloading SciTE4AutIt3.exe or SciTE4AutIt3.zip, but both were blocked by our Anti Virus Software that fund "PUS: Monitor.Win32.Hooker.s".

I try to contact my administrator because of the virus.

Share this post


Link to post
Share on other sites

Wolfgang,

Yes, I believe you need the 'full' version - sorry, I should have mentioned it above.

Do try and get your admin to permit the download - it is an excellent package and really helps maximise AutoIt's power.

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites

Share this post


Link to post
Share on other sites

Wolfgang,

Yes, I believe you need the 'full' version - sorry, I should have mentioned it above.

Do try and get your admin to permit the download - it is an excellent package and really helps maximise AutoIt's power.

M23

Melba23,

today I tried the next time, again without success. I downloaded SciTE4AutoIt3.exe (is it the "full version"? it's size is 4.22 MB) and installed it, resulting in man more files under C:\Programe\AutiIt3\SciTE. Then I wrote the file au3.uderudfs.properties and placed it in the subdirectory Properties:

au3.keywords.user.udfs=_inilesen _inilesenabschnitt _inilesenabschnittnamen _iniloeschen _inischreiben

Again, after starting SciTE, none of these functions were highlighted. Just for fun I edited the file au3.keywords.properties and therein added my functions to "au3.keywords.udfs". Even that didn't work!

Wolfgang

Share this post


Link to post
Share on other sites

Melba23,

today I tried the next time, again without success. I downloaded SciTE4AutoIt3.exe (is it the "full version"? it's size is 4.22 MB) and installed it, resulting in man more files under C:\Programe\AutiIt3\SciTE. Then I wrote the file au3.uderudfs.properties and placed it in the subdirectory Properties:

au3.keywords.user.udfs=_inilesen _inilesenabschnitt _inilesenabschnittnamen _iniloeschen _inischreiben

Again, after starting SciTE, none of these functions were highlighted. Just for fun I edited the file au3.keywords.properties and therein added my functions to "au3.keywords.udfs". Even that didn't work!

Wolfgang

Melba23,

now it works! I forgot to add my functions to api\au3.user.calltips.api. Since I did this, syntax highlighting and tooltips work well. Thank you very much and sorry for m confusion!

Wolfgang

Share this post


Link to post
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
Sign in to follow this  
Followers 0