Jump to content

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


Recommended Posts

  • Developers
Posted
8 hours ago, donnyh13 said:

So far, with minimum testing, I don’t see any problems. But I look forward to your input.

Thanks, I'll have a look later to see what your change does. 🙂

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 (edited)
9 hours ago, rcmaehl said:

Props for detecting VSC and allowing it as the default editor! 

Right...  but not sure what you expect next after this elaborate info?
One stab-in-the-dark: Did you ever manually fixed the Open-With setting?  You can check this in SciTEConfig/Other Tools/Run AutoIt3/SciTE check 

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

  • Developers
Posted
13 hours ago, donnyh13 said:

Good morning Jos,

I did some tinkering with your indenter, and came up with the following. I fixed a couple typo’s, and added a couple of extra checks, etc. I didn’t mark the changes, I’m supposing you can do a comparison? But if you want, I can mark them and repost. So far, this seems to work good? If “\n” is enabled for auto-complete with enter, it was still breaking the positioning of the cursor. So to fix that, I had to do the following modification to AutoItAutoComplete.lua, line 718, after

AutoItIndentFix:OnUpdateUI()

Add the following:

-- Update to new indented position.

ncarretpos = editor.SelectionNCaret[editor.MainSelection]

So far, with minimum testing, I don’t see any problems. But I look forward to your input.

Best regards,

AutoItIndentFix.lua 17.86 kB · 1 download

Thanks for the extensive update of the AutoItIndentFix.lua! I have merged your changes into my version and had a quick play, which looks good.
Also did the update in AutoItAutoComplete.lua .
They will be part of the next upload unless any issues are found.

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

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