Jump to content

Question about SciTE Config


Recommended Posts

  • Moderators

I just wanted to confirm some behavior for SciTe Config. I added a User Includes folder, and added several UDFs in there (OutlookEX, AD, etc.). After doing so, the autocomplete comes up just fine when calling functions within these UDFs. I have tried adding some others, however (RecFileListToArray, ChooseFileFolder, _WinSplit) do not show the autocomplete after added to this directory and reloading AutoIt.

Just curious if it is in the way the UDF is written, or some other factor that causes this behavior?

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to comment
Share on other sites

  • Moderators

I just saw Melba's reply to another post and think I answered my own question.

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to comment
Share on other sites

  • Moderators

JLogan3o13,

Each time you open the CallTip Manager it reads the user include folder(s) - if any - and if those folders are selected in the left-hand combo reads the .au3 files within them into the right-hand combo. When I add files to my User Include folder they certainly appear in the combo. :)

But you have to parse any UDFs with the app before the CallTips and AutoComplete appear in Scite - this does not happen automatically. Select the UDF to parse and presss the "Parse" button - the UDF then looks through all the functions and suggests which ones you might like to add. The new version that Jos has just uploaded to the Beta download page uses the following logic:

Header Mode:

 

Old-fashioned function headers: Looks for the # FUNCTION # ==== headers and ignores the # INTERNAL USE ONLY # ==== ones. It uses the Syntax and Description lines from the header.

New function headers without details: As above but then if it finds nothing looks for Func _Func_Name lines.

Direct Mode:

Just looks for Func _Func_Name lines.

Does that help? :huh:

M23

Edit: Oh well, it might help someone else! :D

Edited by Melba23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see 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

 

Link to comment
Share on other sites

  • Moderators

Thanks, as usual, no sooner did I post than I saw JohnOne's thread. It's been so long I forgot I have to parse through them one by one :)

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

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...