Jump to content

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


Recommended Posts

Posted

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

  • Developers
Posted
  On 12/18/2024 at 11:20 AM, mLipok said:

and put all current files on 

Expand  

I can take a look, but first like to understand what it is you are asking. ;) 

Is your question whether I can merge all changes/update into the Beta installer and portable zip file or something else?

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

Posted
  On 12/18/2024 at 12:50 PM, Jos said:

Beta installer and portable zip file

Expand  

would be the best

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted
  On 12/18/2024 at 1:58 PM, Jos said:

which they are except change I am not fully sure about

Expand  

As separate test single file please.

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

  • Developers
Posted
  On 12/18/2024 at 3:08 PM, mLipok said:

As separate test single file please.

Expand  

That is not the approach. You will find the "sets" of files or installers which all belong together. 
The latest LUA scripts I am sure of will be in the file:    SciTE_changes_Dynamic_Includes_LUA.zip
There could be temporarily another file there, but they shouldn't be there for long.

(hope i understood you better this time or else please PM me with a little more context. ;) 

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

  • Developers
Posted

Just uploaded SciTEx86.zipSciTEx64.zip which contain the Latest SciTE 5.5.4 versions released today 18 December 2024.

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

  • 2 weeks later...
Posted (edited)

Hi Jos,

Just another minor trouble I found. I can type and paste in the Console, but when I use backspace, it backspaces in the main editor, not the console.

Edited by donnyh13

LibreOffice UDF  ; Scite4AutoIt Spell-Checker Using LibreOffice

  Reveal hidden contents

 

  • Developers
Posted
  On 12/29/2024 at 6:42 PM, donnyh13 said:

.. but when I use backspace, it backspaces in the main editor, not the console.

Expand  

That is indeed a glitch in AutoitAutoComplete.lua. Try changing line 52 to add a test which pane has the focus to:

function AutoItAutoComplete:OnKey(code, shift, control, alt)
    if editor.Lexer ~= SCLEX_AU3 or props['FileNameExt'] == '' or not editor.Focus  then

 

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

Posted
  On 12/29/2024 at 8:46 PM, Jos said:

Try changing line 52

Expand  

That fixed it, thanks Jos!

LibreOffice UDF  ; Scite4AutoIt Spell-Checker Using LibreOffice

  Reveal hidden contents

 

Posted (edited)

I found a problem with the blinking cursor disappearing.

Try pressing Enter after "closing bracket" at the end of the second line, in this following testing snippet:

Func _1()
    For $i = 1 To $a[0] 
    Next
EndFunc

 

Edited by mLipok

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

  • Developers
Posted

I indeed see the same on the current Beta happening, but started to work on an update for the "indent fix" logic, and that version is not having this symptom anymore.
So guess you will have to wait a bit till I am feeling the urge to finish that, and an update is published. ;) 

 

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

Posted

I'm curious about a few things. I did read the first three pages.

How exactly do we set this up?

Is it working alright, or is it glitchy? I'm also wondering why, with the added capability that it isn't default.

SIGNATURE_0X800007D NOT FOUND

Posted (edited)

I can see, now, that you've put plenty of effort into presenting this. The GIFs are spot-on. I just missed one line of your text, and it was the Beta Installer location.

Thanks again for the massive upgrade.

Edited by BinaryBrother

SIGNATURE_0X800007D NOT FOUND

  • 2 weeks later...
Posted

Can I turn off the orange upside-down triangles that appear? I searched the forums for symbols, orange triangles, etc and didn't see anything.

image.png.655abe3fe3dfbdbd5a0e3f36b24acc12.png

Here's a highlighted pic.

image.png.c638e137af07131ab105b5a2b2dd1133.png

 

I believe they indicate last edits, since that's where they all appear. After a while the code gets a little cluttered with them.

SIGNATURE_0X800007D NOT FOUND

  • Developers
Posted

This is an added change.history feature that can be tweaked with these settings:

  Quote
change.history
marker.reverted.to.origin
marker.saved
marker.modified
marker.reverted.to.modified
indicator.reverted.to.origin.insertion
indicator.reverted.to.origin.deletion
indicator.saved.insertion
indicator.saved.deletion
indicator.modified.insertion
indicator.modified.deletion
indicator.reverted.to.modified.insertion
indicator.reverted.to.modified.deletion
The change.history property controls whether changes to the document (insertions, deletions, saved chanes, ...) are shown as margin markers or indicators within text.
It is a set of bit flags (1=enable, 2=margin markers, 4=indicators in text) so the most likely settings are 0=disabled; 3=enabled with margin marks, or 7=enabled with margin markers and in-text indicators.
There is a default set of visuals for this feature but they may be altered with the marker.* and indicator.* properties.
As change history can only be enabled when the file is in its original state, this property only takes effect when a file is loaded.
Expand  

The markers will reset each time you do a save file.
I have set change.history=3 for myself to only get the line markers at the beginning of each changed line.

See this discussion earlier in this thread: 

 

 

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

Posted (edited)

When I create or modify a function, ex

Func _Test()

When I hit return at the end of that line, it doesn't auto-tab like the normal Scite does, so you're starting in the right place. Furthermore, when I do hit tab, it adds a line of whitespace underneath.

I recorded a video of what I'm talking about.

If I knew the names of what I'm talking about I could search the threads. I'm so naive when it comes to ScITE behavior. I don't remember this happening before... Maybe I accidentally changed something?

https://app.screencast.com/Ye8sgIrN5jn2R?conversation=kVzfwHR5ziWsdaEyCkgKKr

Edited by BinaryBrother

SIGNATURE_0X800007D NOT FOUND

  • Developers
Posted
  On 1/27/2025 at 7:23 PM, BinaryBrother said:

When I hit return at the end of that line, it doesn't auto-tab like the normal Scite does, so you're starting in the right place. Furthermore, when I do hit tab, it adds a line of whitespace underneath.

Expand  

I know... been discussed a couple of times in this "long ass thread"...  One day I might pick it up again and finish the changes required for the AutoIndent functionality, unless somebody beats me to it and get it done for us.  One other option I am still considering is dropping the Full SciTE development and start supporting the Visual Studio Code movement. 

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

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
  • Recently Browsing   0 members

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