Jump to content

Recommended Posts

Hello.

I'm using SciTE v3.3.14.5 I think, and I find this very annoying (GIF):

https://i.gyazo.com/e60b5d94b8c16d217be4010e208d7042.mp4

 

I've searched around but found nothing that helped including this:

https://www.autoitscript.com/forum/topic/100517-stop-scite-removing-tab-indentations/

 

So the problem obviously is that when I go to a new line after "EndIf", it removes the tab which I don't want to happen.

Is there any fix?

 

I've tried to change some configs such as 

    Line 183: # Indentation
    Line 185: indent.size=0
    Line 187: #indent.auto=0
    Line 188: indent.automatic=0
    Line 189: indent.opening=0
    Line 190: indent.closing=0
    Line 191: #tab.indents=0
    Line 192: #backspace.unindents=0
    
    strip.trailing.spaces=0

But nothing seems to get rid of this.

 

Thanks

Edited by kellariluukku

Share this post


Link to post
Share on other sites

Are you using the full SciTE version from the separate installer or the one that came with the AutoIt3 installer?

Try to he full version when you aren't using it yet.

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

Share this post


Link to post
Share on other sites

So, there's no other config setting for this?

Because took me 3 hours to get scite working because I was having "Scintilla failure 1 for message 2152" crash, so I don't remember very clearly how I got it to work.

I was having trouble with SciTE4AutoIt3 Full installer so I went on scintilla.org, downloaded something from there then took v18.708.1148.0-SciTE4AutoIt3_Portable.zip, dragged the content of that to C:\Program Files (x86)\AutoIt3\SciTE and that's I think how I got it working.

I do not want to try any other version since its not throwing that error now.

I only wanted the dark theme that's why I'm using it and I'd rather deal with this problem than go back to a white theme. Or have that error.

Thanks anyway.

 

Share this post


Link to post
Share on other sites
8 hours ago, kellariluukku said:

So, there's no other config setting for this?

Yes I think there is as the Full version is running some LUA script to fix the standard SciTE behavior for this behavior.

8 hours ago, kellariluukku said:

Because took me 3 hours to get scite working because I was having "Scintilla failure 1 for message 2152" crash, so I don't remember very clearly how I got it to work.

I am still interested to know how to replicate this crash as it has been reportd before but I haven't been able to make it crash and subsequently debug it.

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

Share this post


Link to post
Share on other sites
3 hours ago, Jos said:

I am still interested to know how to replicate this crash as it has been reportd before but I haven't been able to make it crash and subsequently debug it.

For me the crash happened immediately once I just clicked a few times any line of any .au3 script. 

After I got it working, I can still replicate it simply by opening Global Options File, edit it, and close it without saving.

Here is a video: https://i.gyazo.com/8989df479eadec9b523c920a3885a81e.mp4

It does not occur with other config files. 

Sometimes it occurs also just by clicking some lines around the Global Options File.

 

Here is what I have currently installed (it seems like I have your installer): 

ee99b0d967c67ed2028690aa1c17f8c8.png

 

And here is all of my AutoIt3 files: https://www.sendspace.com/file/quywpq

I'm running Win7 64bit.

 

 

Share this post


Link to post
Share on other sites

I believe it is crashing for you, like the others reported, but as long as I have no option to get the crash myself it will be hard to debug and search for a solution.

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

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By Bhooshan
      I need to mute an ongoing call on Microsoft teams without activating the window. Teams allows us to mute using shortcut key Ctrl+Shift+m but only when the window is active.
      # Used set option as ongoing call can be with any person which leads to change in Title Name.
      AutoItSetOption ( "WinTitleMatchMode", 2 ) 
      # I am not clear with the control ID which will be good to use here and also the key combination of ^M       
      ControlSend ( "Microsoft Teams", "", "[CLASS:Intermediate D3D Window; INSTANCE:1]", "{ctrl down}")
       
      Can anyone help...!!! 
       

    • By Sayed
      Hi there, 
      I'm new in AutoIt forms and using AutoIt to automate desktop application (able to automate the application normally but facing issue when I've to re-run the application twice within the same script...so need help in this please)
      here is the steps then followed by the issue in a brief : 
      1- run application . 
      2- do some actions (click menus,activate windows,set texts..)
      3- close the application. 
      4- run the application again & access the same controls.
      5- open the same windows again (like step 2)
      6- perform some validations (by getting texts from some text boxes)
      7- close the application again (and repeat 1-7 for 15 times in average )
      The issue 
      * all controls are accessible in the first run and actions done successfully on controls (for steps 1-3) BUT from the second run of the application from step-4 it's able to set focus only the main application window.
      Note: only unique properties used to while mapping the controls. 
      Error that appear in the console :
      UIAWrappers.au3" (1673) : ==> Array variable has incorrect number of subscripts or subscript dimension range exceeded.: $x = Int($t[1] + ($t[3] / 2)) $x = Int($t[1] + (^ ERROR  
      Simple spy code  of one of the controls that has this strange issue(menubar&view menu Item): 
      ;~ *** Standard code maintainable *** #include "UIAWrappers.au3" AutoItSetOption("MustDeclareVars", 1) _UIA_setVar("oP1","Title:=XXX;controltype:=UIA_WindowControlTypeId;class:=WindowsForms10.Window.8.app") ;main app form xxx _UIA_setVar("oP2","Title:=menuStrip1;controltype:=UIA_MenuBarControlTypeId;class:=WindowsForms10.Window.8.app") ;menuStrip1 ;~ $oUIElement=_UIA_getObjectByFindAll("View.mainwindow", "title:=View;ControlType:=UIA_MenuItemControlTypeId", $treescope_subtree) _UIA_setVar("oUIElement","Title:=View;controltype:=UIA_MenuItemControlTypeId;class:=") ;ControlType:=UIA_MenuItemControlTypeId;classname:=") ;~ Actions split away from logical/technical definition above can come from configfiles ;~_UIA_Action("oP1","highlight") _UIA_Action("oP1","setfocus") ;~_UIA_Action("oP2","highlight") _UIA_Action("oP2","setfocus") _UIA_action("oUIElement","highlight") ;~_UIA_action("oUIElement","click")  
       
    • By Fenzik
      Hello All!
      i suggest to set default encoding in Scite4 for Autoit 3 to UTF 8 with Bom encoding, format recommended also in Autoit Help.
      In last editor version, when i open new script, for example Czech characters (č, ř, ž) aren't correct.
      So when i change Encoding to UTF 8 with Bom from Default Code page property state, everithing seems to be OK.
      Thank you and sorry for potentialy duplicated content.
      Fenzik
    • By jitb
      I have an eof problem in SciTE. I keep gitting this knitsu at the end of the open sesion.
      Please see below. The file should end at line 1220 but has invisable lines. What am I doing wrong?
    • By AutoitMike
      Scite 3.4.4
      Win 10
      I click "Help" or press F1, there is no response
      If I use the file explorer and double click Autoit.chm or Autoit3.chm help opens.
      There is no dialog to check or uncheck "Always ask before opening this file" when clicking on these files.
       
      If you are curious as to why I dont have the latest version, I am creating a back up laptop that has a VERY extensive automation application that I have written over the past 15 years.
       
      An extremely potent, powerful, needed function has been deleted in the upgrade of Autoit in recent years that I can not do without. If my main laptop dies, which it almost did, I am in a very bad position. So I bought the exact same laptop and I am "cofiguring" it to work exactly the same as my main laptop. However, this one has been "Upgraded" to Win 10 which I hope is not the problem. 
      Thanks for any help
×
×
  • Create New...