Jump to content

BETA: SciTE v5x & lua Dynamic_include and "Smart" AutoComplete for Vars/UDFs/Abbrevs


Jos
 Share

Recommended Posts

  • Developers
17 minutes ago, jpm said:

Hi, the Ctrl-j line not in the screen

Just do it in line 32 for GetVarNamesLine

It jump for me to that Func which is shown as the 6th line in de current shown lines (As I have defined in the function) ... what do you get? 

Edited by Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

  • Developers

@jpm

Please download the latest lua.zip and copy those to your SciTE\lua.
Then set SciTEUser.properties: autoitgotodefinition.debug=1 
... do again the Ctrl+J
Check logfile: $(SciteUserHome)\dynamic_udfs.err

It should contain something like:

-18:47:37 -> * -> * - GotoDefinition:  search func:GetVarNamesLine
>18:47:37 -> * ->ShowFunction > found: GetVarNamesLine  pos:2349 Line:61 firstline displayed:56
-18:47:37 -> * -> * - Found in current file: D:\Users\jvdza\Downloads\test Jump wrong line.au3

So for me the first line  in de display is 57 and the Func line is 62 (SciTE start counting at 0 in stead of 1, hence the 1 difference) 

Jos

Edited by Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

Thank's Jos It's is a master piece.  How can I hide the bunch of console windows shown when I open a Script?

 

 

Saludos

Link to comment
Share on other sites

  • Developers
Just now, Danyfirex said:

How can I hide the bunch of console windows shown when I open a Script?

Which are those?  None should be there by default, but it can be I forgot something somewhere, but need a bit more details to know what you are looking at. 

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

I really don't know. I followed your instructions but when I open an Script using double click/or right click open/edit I see many consoles being opened and closed fast then I get SciTE opened successfully.

 

Check:

capture-1.thumb.gif.b2758ca58e7f81bd7a9f020d3f60dd0e.gif

Saludos

 

 

 

 

 

 

Link to comment
Share on other sites

  • Moderators

Dany,

Nothing like that happens for me - just SciTE opening as per normal.

Steve G

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

  • Developers

The script do indeed a bunch of io.popen("dir ") commands that shell an CMD session, but those should be suppressed since a while now. Are you running the Latste SciTE version?

Edited by Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

Link to comment
Share on other sites

  • Developers
2 minutes ago, Danyfirex said:

I'm running SciTE Version 4.2.0

Ok...that makes sense then... ;) 

Quote

Release 4.4.4

  • End of line annotations implemented. Bug #2141.
  • -snip-
  • SciTE on Windows adds create.hidden.console option to stop console window flashing when Lua script calls os.execute or io.popen.

 

Edited by Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

  • Developers

Latest release is SciTE v4.4.6. as shown in the log, so you do not have the latest version:

--------------------------------------------------------------------------------------------------
16-03-2021
*** Merged the SciTE v 4.4.6 by Neil Hodgson with our own version of SciTE. (Jos)
    - Change the workdir to the programdir to avoid locking up the last opened scriptfile directory.
    - Fixed Bom checking bug resulting to garbage characters in the editor for UTF encoded file other than UTF8
    - Dropped support for WinXP (Compiled with vc15, Win sdk 8.1, Toolset v141)
    - Compiled with vc15 and changed SSE instruction set to ia86 compatible.

The SciTE v5.2.3 will soon be available to everybody.

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

Link to comment
Share on other sites

  • Developers

How did you update?
So your SciTE version is now 4.4.6?

Check SciTEGlobal.properties for create.hidden.console=1

Edited by Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

I just download and install as usually, So I think it didn't rewrite the properties/settings files. I added that line and now I see just one console but faster.

Link to comment
Share on other sites

  • Developers
11 minutes ago, Danyfirex said:

I added that line and now I see just one console but faster.

It is funny how many folks prefer to run SciTE in their own setup and still think they don't need to spent the time to read on all the changes made. ... but really... that is why I publish the hassle free installer or Portable Zip version, but you really need to update the whole thing or else you are really on your own. ;) 
I have seen that flash too but rarely and have no idea where that is coming from nor how to debug that as it doesn't happen constantly for me.

Edited by Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

I didn't understand your last message 🙃. Anyway don't worry I'll fix it by myself when I have time. thank you for your time.

 

Saludos

Link to comment
Share on other sites

  • Developers
11 minutes ago, Danyfirex said:

Anyway don't worry I'll fix it by myself when I have time.

Though it was fixed...no? ;) 

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

No yet, I still have one window shown. But I'll check deeply later I need to sleep I'll write later here.😊

Link to comment
Share on other sites

4 hours ago, Jos said:

@jpm

Please download the latest lua.zip and copy those to your SciTE\lua.
Then set SciTEUser.properties: autoitgotodefinition.debug=1 
... do again the Ctrl+J
Check logfile: $(SciteUserHome)\dynamic_udfs.err

It should contain something like:

-18:47:37 -> * -> * - GotoDefinition:  search func:GetVarNamesLine
>18:47:37 -> * ->ShowFunction > found: GetVarNamesLine  pos:2349 Line:61 firstline displayed:56
-18:47:37 -> * -> * - Found in current file: D:\Users\jvdza\Downloads\test Jump wrong line.au3

So for me the first line  in de display is 57 and the Func line is 62 (SciTE start counting at 0 in stead of 1, hence the 1 difference) 

Jos

I just redownload latest file was at 2022/07/02  18:46

Still no working due to fold.on.open=1

 

Link to comment
Share on other sites

  • Jos changed the title to BETA: SciTE v5x & lua Dynamic_include and "Smart" AutoComplete for Vars/UDFs/Abbrevs
  • Jos locked, unlocked and pinned this topic

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