Jump to content

Recommended Posts

12 hours ago, ISI360 said:

Hmm sorry @Jokerman i am still not hundred percent sure what you mean here. (My english is not the best)
Maybe you can screenrecord a gif or a movie which shows the error? ๐Ÿ˜‡

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

Here's a screen recording trying to show what I mean by the intellimark functionality not taking into account folded code (in this case it's a Region but the same thing happens with all folded code). As you can see in the video when I highlight something while at the top of the tab with the Region folded intellimark only highlights/marks down to line 55 but if I scroll down then intellimark higlights/marks down to line 67 - but if the Region isn't folded then intellimark highlights all the visible lines normally. Also, while not shown in the video, if I hit F8 to turn off the bottom debug window then more lines of code getย highlighted without scrolling down (line 68) - this is part of what makes me assume the intellimark functionality is working based on the lines visible in ISN Studio's viewport.

Basically, it seems to me (and please correct me if I'm wrong) like the intellimark functionality is using an algorithm to try to determine what's in ISN Studio's viewport so it only highlights matches and marks lines as they become visible (rather than processing the entire tab all at once). If my assumption is correct thenย it seems like the algorithm isn't accounting for any lines of code that are currently folded and have a + next to them you can click to expand them (like comments, Regions, For/If/Switch/Select statements, etc.).

Sorry I can't do a better job of describing the issue. If there's anyone reading this who thinks they understand what I'm saying and can describe it better (or speaks fluent German) please don't hesitate to chime in! This is just one of many reasons I'm a coder and not a teacher.ย ๐Ÿ˜‚

Link to comment
Share on other sites

This is not ISN problem but I think this is related to Scintilla
Possibly already reported here:
https://sourceforge.net/p/scintilla/bugs/


Take a look also here:

ย 

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 Code *ย for other useful stuffย click the following button:

Spoiler

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

My contribution (my own projects):ย *ย Debenu Quick PDF Library - UDFย *ย Debenu PDF Viewer SDK - UDFย *ย Acrobat Reader - ActiveX Viewerย * UDF for PDFCreator v1.x.xย *ย XZip - UDFย *ย AppCompatFlagsย UDFย *ย CrowdinAPIย UDFย *ย _WinMergeCompare2Files()ย *ย _JavaExceptionAdd()ย *ย _IsBeta()ย *ย Writing DPI Awareness App - workaroundย *ย _AutoIt_RequiredVersion()ย * Chilkatsoft.au3 UDFย *ย TeamViewer.au3 UDFย *ย JavaManagement UDFย *ย VIES over SOAPย * WinSCP UDFย * GHAPI UDF - modest begining - comunication with GitHub REST API *ย ErrorLog.au3 UDF - A logging Libraryย *ย Include Dependency Tree (Tool for analyzing script relations)ย *ย Show_Macro_Values.au3 *

ย 

My contribution to others projects or UDF based on ย others projects:ย *ย _sql.au3 UDFย ย * POP3.au3 UDFย * ย RTF Printer - UDFย * XML.au3 UDFย * ADO.au3 UDF *ย SMTP Mailer UDFย *ย Dual Monitor resolution detection * *ย 2GUI on Dual Monitor System * _SciLexer.au3 UDFย *ย SciTE - Lexer for console pane *ย 

Useful links:ย * Forum Rulesย *ย Forum etiquetteย *ย  Forum Information and FAQsย *ย How to post code on the forumย *ย AutoIt Online Documentationย *ย AutoIt Online Beta Documentationย *ย SciTE4AutoIt3 getting startedย *ย Convert text blocks to AutoIt codeย *ย Games made in Autoitย *ย Programming related sitesย *ย Polish AutoIt Tutorialย *ย DllCall Code Generatorย *ย 

Wiki:ย *ย Expand your knowledge - AutoIt Wikiย *ย Collection of User Defined Functionsย *ย How to use HelpFileย *ย Good coding practices in AutoItย *ย 

OpenOffice/LibreOffice/XLS Related:ย WriterDemo.au3ย *ย XLS/MDB from scratch with ADOX

IE Related:ย ย *ย How to use IE.au3 ย UDF with ย AutoIt v3.3.14.xย *ย Why isn't Autoit able to click a Javascript Dialog?ย *ย Clicking javascript button with no IDย *ย IE document >> save as MHT fileย * IETab Switcher (by LarsJ )ย *ย HTML Entities * _IEquerySelectorAll() (by uncommon)ย *ย IE in TaskScheduler *ย IE Embedded Control Versioning (use IE9+ and HTML5 in a GUI)ย *ย PDFย Related: *ย How to get reference to PDF object embeded in IE * IE on Windows 11 *ย 

I encourage you to read:ย * Global Varsย * Best Coding Practicesย *ย Please explain code used in Help file for several File functionsย *ย OOP-like approach in AutoItย * UDF-Spec Questionsย *ย  EXAMPLE: How To Catch ConsoleWrite() output to a file or to CMDย *

I also encourage you to check awesome @trancexxย code:ย  *ย Create COM objects from modules without any demand on user to register anything. * Another COM object registering stuff *ย OnHungApp handler *ย Avoid "AutoIt Error" message box in unknown errorsย ย *ย HTML editor *ย 

winhttp.au3 related :ย *ย https://www.autoitscript.com/forum/topic/206771-winhttpau3-download-problem-youre-speaking-plain-http-to-an-ssl-enabled-server-port/

"Homo sum; humani nil a me alienum puto" - Publius Terentius Afer
"Program are meant to be read by humans and only incidentally for computers and execute" - Donald Knuth, "The Art of Computer Programming"
:naughty:ย ย :ranting:, beย ย :)ย and ย  ย  ย  \\//_.

Anticipating Errorsย :ย ย "Any program that accepts data from a user must include code to validate that data before sending it to the data store. You cannot rely on the data store, ...., or even your programming language to notify you of problems. You must check every byte entered by your users, making sure that data is the correct type for its field and that required fields are not empty."

Signature last update: 2023-04-24

Link to comment
Share on other sites

btw.
I would like to ask about 2 things:
Questoin 1: How did you enable this >>>ย ย in lines 51-67ย  ?
Questoin 2: And why there is no such >>> in line 84ย ?

image.png.697d9cf01389ca5dc864ab3a364ff142.png

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 Code *ย for other useful stuffย click the following button:

Spoiler

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

My contribution (my own projects):ย *ย Debenu Quick PDF Library - UDFย *ย Debenu PDF Viewer SDK - UDFย *ย Acrobat Reader - ActiveX Viewerย * UDF for PDFCreator v1.x.xย *ย XZip - UDFย *ย AppCompatFlagsย UDFย *ย CrowdinAPIย UDFย *ย _WinMergeCompare2Files()ย *ย _JavaExceptionAdd()ย *ย _IsBeta()ย *ย Writing DPI Awareness App - workaroundย *ย _AutoIt_RequiredVersion()ย * Chilkatsoft.au3 UDFย *ย TeamViewer.au3 UDFย *ย JavaManagement UDFย *ย VIES over SOAPย * WinSCP UDFย * GHAPI UDF - modest begining - comunication with GitHub REST API *ย ErrorLog.au3 UDF - A logging Libraryย *ย Include Dependency Tree (Tool for analyzing script relations)ย *ย Show_Macro_Values.au3 *

ย 

My contribution to others projects or UDF based on ย others projects:ย *ย _sql.au3 UDFย ย * POP3.au3 UDFย * ย RTF Printer - UDFย * XML.au3 UDFย * ADO.au3 UDF *ย SMTP Mailer UDFย *ย Dual Monitor resolution detection * *ย 2GUI on Dual Monitor System * _SciLexer.au3 UDFย *ย SciTE - Lexer for console pane *ย 

Useful links:ย * Forum Rulesย *ย Forum etiquetteย *ย  Forum Information and FAQsย *ย How to post code on the forumย *ย AutoIt Online Documentationย *ย AutoIt Online Beta Documentationย *ย SciTE4AutoIt3 getting startedย *ย Convert text blocks to AutoIt codeย *ย Games made in Autoitย *ย Programming related sitesย *ย Polish AutoIt Tutorialย *ย DllCall Code Generatorย *ย 

Wiki:ย *ย Expand your knowledge - AutoIt Wikiย *ย Collection of User Defined Functionsย *ย How to use HelpFileย *ย Good coding practices in AutoItย *ย 

OpenOffice/LibreOffice/XLS Related:ย WriterDemo.au3ย *ย XLS/MDB from scratch with ADOX

IE Related:ย ย *ย How to use IE.au3 ย UDF with ย AutoIt v3.3.14.xย *ย Why isn't Autoit able to click a Javascript Dialog?ย *ย Clicking javascript button with no IDย *ย IE document >> save as MHT fileย * IETab Switcher (by LarsJ )ย *ย HTML Entities * _IEquerySelectorAll() (by uncommon)ย *ย IE in TaskScheduler *ย IE Embedded Control Versioning (use IE9+ and HTML5 in a GUI)ย *ย PDFย Related: *ย How to get reference to PDF object embeded in IE * IE on Windows 11 *ย 

I encourage you to read:ย * Global Varsย * Best Coding Practicesย *ย Please explain code used in Help file for several File functionsย *ย OOP-like approach in AutoItย * UDF-Spec Questionsย *ย  EXAMPLE: How To Catch ConsoleWrite() output to a file or to CMDย *

I also encourage you to check awesome @trancexxย code:ย  *ย Create COM objects from modules without any demand on user to register anything. * Another COM object registering stuff *ย OnHungApp handler *ย Avoid "AutoIt Error" message box in unknown errorsย ย *ย HTML editor *ย 

winhttp.au3 related :ย *ย https://www.autoitscript.com/forum/topic/206771-winhttpau3-download-problem-youre-speaking-plain-http-to-an-ssl-enabled-server-port/

"Homo sum; humani nil a me alienum puto" - Publius Terentius Afer
"Program are meant to be read by humans and only incidentally for computers and execute" - Donald Knuth, "The Art of Computer Programming"
:naughty:ย ย :ranting:, beย ย :)ย and ย  ย  ย  \\//_.

Anticipating Errorsย :ย ย "Any program that accepts data from a user must include code to validate that data before sending it to the data store. You cannot rely on the data store, ...., or even your programming language to notify you of problems. You must check every byte entered by your users, making sure that data is the correct type for its field and that required fields are not empty."

Signature last update: 2023-04-24

Link to comment
Share on other sites

11 hours ago, mLipok said:

btw.
I would like to ask about 2 things:
Questoin 1: How did you enable this >>>ย ย in lines 51-67ย  ?
Questoin 2: And why there is no such >>> in line 84ย ?

image.png.697d9cf01389ca5dc864ab3a364ff142.png

Question 1: You can get those markersย by enabling the "In addition, add a marker to the line" in ISN AutoIt Studio's Settings (after you select "Script Editor" in Navigation it's under "Write settings").

Unbenannt.JPG

Question 2: The markers not highlighting everything visible isย the issue that I ran into (that, until I made the video, I was failing horribly to explainย ๐Ÿคฃ). ISI360 has confirmed the issue so now it'll come down to how they implemented intellimark. You're right -ย if the code relies heavily on Scintilla's implementation it may not be easily fixable, if at all. But if ISI360's intellimark functionality is custom code (and it may be considering the massive intellimark performance optimization theyย introducedย in 1.13) I have faith ISI360 will figure it out.ย ๐Ÿคž

Btw, huge respect and thanks to you, mLipok. Yourย posts and guidance have helped me immensely over the years.ย ๐Ÿ™

Link to comment
Share on other sites

a question to @ISI360

What exactly does it do

7 minutes ago, Jokerman said:

Question 1: You can get those markersย by enabling the "In addition, add a marker to the line" in ISN AutoIt Studio's Settings (after you select "Script Editor" in Navigation it's under "Write settings").

with Scintilla ?

ย 

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 Code *ย for other useful stuffย click the following button:

Spoiler

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

My contribution (my own projects):ย *ย Debenu Quick PDF Library - UDFย *ย Debenu PDF Viewer SDK - UDFย *ย Acrobat Reader - ActiveX Viewerย * UDF for PDFCreator v1.x.xย *ย XZip - UDFย *ย AppCompatFlagsย UDFย *ย CrowdinAPIย UDFย *ย _WinMergeCompare2Files()ย *ย _JavaExceptionAdd()ย *ย _IsBeta()ย *ย Writing DPI Awareness App - workaroundย *ย _AutoIt_RequiredVersion()ย * Chilkatsoft.au3 UDFย *ย TeamViewer.au3 UDFย *ย JavaManagement UDFย *ย VIES over SOAPย * WinSCP UDFย * GHAPI UDF - modest begining - comunication with GitHub REST API *ย ErrorLog.au3 UDF - A logging Libraryย *ย Include Dependency Tree (Tool for analyzing script relations)ย *ย Show_Macro_Values.au3 *

ย 

My contribution to others projects or UDF based on ย others projects:ย *ย _sql.au3 UDFย ย * POP3.au3 UDFย * ย RTF Printer - UDFย * XML.au3 UDFย * ADO.au3 UDF *ย SMTP Mailer UDFย *ย Dual Monitor resolution detection * *ย 2GUI on Dual Monitor System * _SciLexer.au3 UDFย *ย SciTE - Lexer for console pane *ย 

Useful links:ย * Forum Rulesย *ย Forum etiquetteย *ย  Forum Information and FAQsย *ย How to post code on the forumย *ย AutoIt Online Documentationย *ย AutoIt Online Beta Documentationย *ย SciTE4AutoIt3 getting startedย *ย Convert text blocks to AutoIt codeย *ย Games made in Autoitย *ย Programming related sitesย *ย Polish AutoIt Tutorialย *ย DllCall Code Generatorย *ย 

Wiki:ย *ย Expand your knowledge - AutoIt Wikiย *ย Collection of User Defined Functionsย *ย How to use HelpFileย *ย Good coding practices in AutoItย *ย 

OpenOffice/LibreOffice/XLS Related:ย WriterDemo.au3ย *ย XLS/MDB from scratch with ADOX

IE Related:ย ย *ย How to use IE.au3 ย UDF with ย AutoIt v3.3.14.xย *ย Why isn't Autoit able to click a Javascript Dialog?ย *ย Clicking javascript button with no IDย *ย IE document >> save as MHT fileย * IETab Switcher (by LarsJ )ย *ย HTML Entities * _IEquerySelectorAll() (by uncommon)ย *ย IE in TaskScheduler *ย IE Embedded Control Versioning (use IE9+ and HTML5 in a GUI)ย *ย PDFย Related: *ย How to get reference to PDF object embeded in IE * IE on Windows 11 *ย 

I encourage you to read:ย * Global Varsย * Best Coding Practicesย *ย Please explain code used in Help file for several File functionsย *ย OOP-like approach in AutoItย * UDF-Spec Questionsย *ย  EXAMPLE: How To Catch ConsoleWrite() output to a file or to CMDย *

I also encourage you to check awesome @trancexxย code:ย  *ย Create COM objects from modules without any demand on user to register anything. * Another COM object registering stuff *ย OnHungApp handler *ย Avoid "AutoIt Error" message box in unknown errorsย ย *ย HTML editor *ย 

winhttp.au3 related :ย *ย https://www.autoitscript.com/forum/topic/206771-winhttpau3-download-problem-youre-speaking-plain-http-to-an-ssl-enabled-server-port/

"Homo sum; humani nil a me alienum puto" - Publius Terentius Afer
"Program are meant to be read by humans and only incidentally for computers and execute" - Donald Knuth, "The Art of Computer Programming"
:naughty:ย ย :ranting:, beย ย :)ย and ย  ย  ย  \\//_.

Anticipating Errorsย :ย ย "Any program that accepts data from a user must include code to validate that data before sending it to the data store. You cannot rely on the data store, ...., or even your programming language to notify you of problems. You must check every byte entered by your users, making sure that data is the correct type for its field and that required fields are not empty."

Signature last update: 2023-04-24

Link to comment
Share on other sites

4 minutes ago, Jokerman said:

Btw, huge respect and thanks to you, mLipok. Yourย posts and guidance have helped me immensely over the years.ย ๐Ÿ™

hm... I do not remeber that you click Thank's button before ;)


But thanks for current nice word.

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 Code *ย for other useful stuffย click the following button:

Spoiler

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

My contribution (my own projects):ย *ย Debenu Quick PDF Library - UDFย *ย Debenu PDF Viewer SDK - UDFย *ย Acrobat Reader - ActiveX Viewerย * UDF for PDFCreator v1.x.xย *ย XZip - UDFย *ย AppCompatFlagsย UDFย *ย CrowdinAPIย UDFย *ย _WinMergeCompare2Files()ย *ย _JavaExceptionAdd()ย *ย _IsBeta()ย *ย Writing DPI Awareness App - workaroundย *ย _AutoIt_RequiredVersion()ย * Chilkatsoft.au3 UDFย *ย TeamViewer.au3 UDFย *ย JavaManagement UDFย *ย VIES over SOAPย * WinSCP UDFย * GHAPI UDF - modest begining - comunication with GitHub REST API *ย ErrorLog.au3 UDF - A logging Libraryย *ย Include Dependency Tree (Tool for analyzing script relations)ย *ย Show_Macro_Values.au3 *

ย 

My contribution to others projects or UDF based on ย others projects:ย *ย _sql.au3 UDFย ย * POP3.au3 UDFย * ย RTF Printer - UDFย * XML.au3 UDFย * ADO.au3 UDF *ย SMTP Mailer UDFย *ย Dual Monitor resolution detection * *ย 2GUI on Dual Monitor System * _SciLexer.au3 UDFย *ย SciTE - Lexer for console pane *ย 

Useful links:ย * Forum Rulesย *ย Forum etiquetteย *ย  Forum Information and FAQsย *ย How to post code on the forumย *ย AutoIt Online Documentationย *ย AutoIt Online Beta Documentationย *ย SciTE4AutoIt3 getting startedย *ย Convert text blocks to AutoIt codeย *ย Games made in Autoitย *ย Programming related sitesย *ย Polish AutoIt Tutorialย *ย DllCall Code Generatorย *ย 

Wiki:ย *ย Expand your knowledge - AutoIt Wikiย *ย Collection of User Defined Functionsย *ย How to use HelpFileย *ย Good coding practices in AutoItย *ย 

OpenOffice/LibreOffice/XLS Related:ย WriterDemo.au3ย *ย XLS/MDB from scratch with ADOX

IE Related:ย ย *ย How to use IE.au3 ย UDF with ย AutoIt v3.3.14.xย *ย Why isn't Autoit able to click a Javascript Dialog?ย *ย Clicking javascript button with no IDย *ย IE document >> save as MHT fileย * IETab Switcher (by LarsJ )ย *ย HTML Entities * _IEquerySelectorAll() (by uncommon)ย *ย IE in TaskScheduler *ย IE Embedded Control Versioning (use IE9+ and HTML5 in a GUI)ย *ย PDFย Related: *ย How to get reference to PDF object embeded in IE * IE on Windows 11 *ย 

I encourage you to read:ย * Global Varsย * Best Coding Practicesย *ย Please explain code used in Help file for several File functionsย *ย OOP-like approach in AutoItย * UDF-Spec Questionsย *ย  EXAMPLE: How To Catch ConsoleWrite() output to a file or to CMDย *

I also encourage you to check awesome @trancexxย code:ย  *ย Create COM objects from modules without any demand on user to register anything. * Another COM object registering stuff *ย OnHungApp handler *ย Avoid "AutoIt Error" message box in unknown errorsย ย *ย HTML editor *ย 

winhttp.au3 related :ย *ย https://www.autoitscript.com/forum/topic/206771-winhttpau3-download-problem-youre-speaking-plain-http-to-an-ssl-enabled-server-port/

"Homo sum; humani nil a me alienum puto" - Publius Terentius Afer
"Program are meant to be read by humans and only incidentally for computers and execute" - Donald Knuth, "The Art of Computer Programming"
:naughty:ย ย :ranting:, beย ย :)ย and ย  ย  ย  \\//_.

Anticipating Errorsย :ย ย "Any program that accepts data from a user must include code to validate that data before sending it to the data store. You cannot rely on the data store, ...., or even your programming language to notify you of problems. You must check every byte entered by your users, making sure that data is the correct type for its field and that required fields are not empty."

Signature last update: 2023-04-24

Link to comment
Share on other sites

6 minutes ago, mLipok said:

a question to @ISI360

What exactly does it do

with Scintilla ?

ย 

Honestly, I don't know if that's an option in Scintilla but it's an option in ISN AutoIt Studio. It's an add-on to highlighting all matches when you highlight something - in addition to highlighting all matches you also get those markers next to each line that has a match in it. It makes scanning through your script for matches much easier visually since you only have to scan the margin for markers instead of scanning each line of code for the highlighted text. Basically, scan the margin for a marker then scan the line for the highlighted text.

Link to comment
Share on other sites

ISN uses scintilla to display codes, and syntax highlighting.
It is the same dll file like in @Josย SciTE4AutoIt3, of coruse not necesary exactly the same version.

take a look at:
......\ISN_AutoIt_Studio_v1_13_SOURCE.zip\ISN AutoIt Studio\Data\SciLexer.dll

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 Code *ย for other useful stuffย click the following button:

Spoiler

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

My contribution (my own projects):ย *ย Debenu Quick PDF Library - UDFย *ย Debenu PDF Viewer SDK - UDFย *ย Acrobat Reader - ActiveX Viewerย * UDF for PDFCreator v1.x.xย *ย XZip - UDFย *ย AppCompatFlagsย UDFย *ย CrowdinAPIย UDFย *ย _WinMergeCompare2Files()ย *ย _JavaExceptionAdd()ย *ย _IsBeta()ย *ย Writing DPI Awareness App - workaroundย *ย _AutoIt_RequiredVersion()ย * Chilkatsoft.au3 UDFย *ย TeamViewer.au3 UDFย *ย JavaManagement UDFย *ย VIES over SOAPย * WinSCP UDFย * GHAPI UDF - modest begining - comunication with GitHub REST API *ย ErrorLog.au3 UDF - A logging Libraryย *ย Include Dependency Tree (Tool for analyzing script relations)ย *ย Show_Macro_Values.au3 *

ย 

My contribution to others projects or UDF based on ย others projects:ย *ย _sql.au3 UDFย ย * POP3.au3 UDFย * ย RTF Printer - UDFย * XML.au3 UDFย * ADO.au3 UDF *ย SMTP Mailer UDFย *ย Dual Monitor resolution detection * *ย 2GUI on Dual Monitor System * _SciLexer.au3 UDFย *ย SciTE - Lexer for console pane *ย 

Useful links:ย * Forum Rulesย *ย Forum etiquetteย *ย  Forum Information and FAQsย *ย How to post code on the forumย *ย AutoIt Online Documentationย *ย AutoIt Online Beta Documentationย *ย SciTE4AutoIt3 getting startedย *ย Convert text blocks to AutoIt codeย *ย Games made in Autoitย *ย Programming related sitesย *ย Polish AutoIt Tutorialย *ย DllCall Code Generatorย *ย 

Wiki:ย *ย Expand your knowledge - AutoIt Wikiย *ย Collection of User Defined Functionsย *ย How to use HelpFileย *ย Good coding practices in AutoItย *ย 

OpenOffice/LibreOffice/XLS Related:ย WriterDemo.au3ย *ย XLS/MDB from scratch with ADOX

IE Related:ย ย *ย How to use IE.au3 ย UDF with ย AutoIt v3.3.14.xย *ย Why isn't Autoit able to click a Javascript Dialog?ย *ย Clicking javascript button with no IDย *ย IE document >> save as MHT fileย * IETab Switcher (by LarsJ )ย *ย HTML Entities * _IEquerySelectorAll() (by uncommon)ย *ย IE in TaskScheduler *ย IE Embedded Control Versioning (use IE9+ and HTML5 in a GUI)ย *ย PDFย Related: *ย How to get reference to PDF object embeded in IE * IE on Windows 11 *ย 

I encourage you to read:ย * Global Varsย * Best Coding Practicesย *ย Please explain code used in Help file for several File functionsย *ย OOP-like approach in AutoItย * UDF-Spec Questionsย *ย  EXAMPLE: How To Catch ConsoleWrite() output to a file or to CMDย *

I also encourage you to check awesome @trancexxย code:ย  *ย Create COM objects from modules without any demand on user to register anything. * Another COM object registering stuff *ย OnHungApp handler *ย Avoid "AutoIt Error" message box in unknown errorsย ย *ย HTML editor *ย 

winhttp.au3 related :ย *ย https://www.autoitscript.com/forum/topic/206771-winhttpau3-download-problem-youre-speaking-plain-http-to-an-ssl-enabled-server-port/

"Homo sum; humani nil a me alienum puto" - Publius Terentius Afer
"Program are meant to be read by humans and only incidentally for computers and execute" - Donald Knuth, "The Art of Computer Programming"
:naughty:ย ย :ranting:, beย ย :)ย and ย  ย  ย  \\//_.

Anticipating Errorsย :ย ย "Any program that accepts data from a user must include code to validate that data before sending it to the data store. You cannot rely on the data store, ...., or even your programming language to notify you of problems. You must check every byte entered by your users, making sure that data is the correct type for its field and that required fields are not empty."

Signature last update: 2023-04-24

Link to comment
Share on other sites

9 minutes ago, mLipok said:

hm... I do not remeber that you click Thank's button before ;)


But thanks for current nice word.

Touchรฉ! You're probably right. I'm not very good at showing appreciation to posts I find helpful. It isn't that I'm not appreciative but that I'm forgetful. I'm usually in a rush and often time stressed about not being able to figure something out so I hit the forum in the hope someone else has already run into the same thing - and more often than not someone has. Once I find the solution I jump back into fixing my issue and finishing the project with the intention to go back to give thanks and like posts...but inevitably I end up forgetting. My apologies to you and everyone else who has helped me!

Link to comment
Share on other sites

2 minutes ago, mLipok said:

ISN uses scintilla to display codes, and syntax highlighting.
It is the same dll file like in @Josย SciTE4AutoIt3, of coruse not necesary exactly the same version.

I'll take your word for it. I haven't looked into the inner-workings of ISN.ย ๐Ÿ˜

Link to comment
Share on other sites

@Jokermanย 
Could you please confirm that this problem is very rare and at the same time difficult to reproduce even on the same file.
I mean that even if you think how to play it, it turns out that you are never able to recreate it in the same way?

Because I have exactly this problem with preparing 100% sure method to reproduce the problem.

I mean, it happens incidentally.

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 Code *ย for other useful stuffย click the following button:

Spoiler

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

My contribution (my own projects):ย *ย Debenu Quick PDF Library - UDFย *ย Debenu PDF Viewer SDK - UDFย *ย Acrobat Reader - ActiveX Viewerย * UDF for PDFCreator v1.x.xย *ย XZip - UDFย *ย AppCompatFlagsย UDFย *ย CrowdinAPIย UDFย *ย _WinMergeCompare2Files()ย *ย _JavaExceptionAdd()ย *ย _IsBeta()ย *ย Writing DPI Awareness App - workaroundย *ย _AutoIt_RequiredVersion()ย * Chilkatsoft.au3 UDFย *ย TeamViewer.au3 UDFย *ย JavaManagement UDFย *ย VIES over SOAPย * WinSCP UDFย * GHAPI UDF - modest begining - comunication with GitHub REST API *ย ErrorLog.au3 UDF - A logging Libraryย *ย Include Dependency Tree (Tool for analyzing script relations)ย *ย Show_Macro_Values.au3 *

ย 

My contribution to others projects or UDF based on ย others projects:ย *ย _sql.au3 UDFย ย * POP3.au3 UDFย * ย RTF Printer - UDFย * XML.au3 UDFย * ADO.au3 UDF *ย SMTP Mailer UDFย *ย Dual Monitor resolution detection * *ย 2GUI on Dual Monitor System * _SciLexer.au3 UDFย *ย SciTE - Lexer for console pane *ย 

Useful links:ย * Forum Rulesย *ย Forum etiquetteย *ย  Forum Information and FAQsย *ย How to post code on the forumย *ย AutoIt Online Documentationย *ย AutoIt Online Beta Documentationย *ย SciTE4AutoIt3 getting startedย *ย Convert text blocks to AutoIt codeย *ย Games made in Autoitย *ย Programming related sitesย *ย Polish AutoIt Tutorialย *ย DllCall Code Generatorย *ย 

Wiki:ย *ย Expand your knowledge - AutoIt Wikiย *ย Collection of User Defined Functionsย *ย How to use HelpFileย *ย Good coding practices in AutoItย *ย 

OpenOffice/LibreOffice/XLS Related:ย WriterDemo.au3ย *ย XLS/MDB from scratch with ADOX

IE Related:ย ย *ย How to use IE.au3 ย UDF with ย AutoIt v3.3.14.xย *ย Why isn't Autoit able to click a Javascript Dialog?ย *ย Clicking javascript button with no IDย *ย IE document >> save as MHT fileย * IETab Switcher (by LarsJ )ย *ย HTML Entities * _IEquerySelectorAll() (by uncommon)ย *ย IE in TaskScheduler *ย IE Embedded Control Versioning (use IE9+ and HTML5 in a GUI)ย *ย PDFย Related: *ย How to get reference to PDF object embeded in IE * IE on Windows 11 *ย 

I encourage you to read:ย * Global Varsย * Best Coding Practicesย *ย Please explain code used in Help file for several File functionsย *ย OOP-like approach in AutoItย * UDF-Spec Questionsย *ย  EXAMPLE: How To Catch ConsoleWrite() output to a file or to CMDย *

I also encourage you to check awesome @trancexxย code:ย  *ย Create COM objects from modules without any demand on user to register anything. * Another COM object registering stuff *ย OnHungApp handler *ย Avoid "AutoIt Error" message box in unknown errorsย ย *ย HTML editor *ย 

winhttp.au3 related :ย *ย https://www.autoitscript.com/forum/topic/206771-winhttpau3-download-problem-youre-speaking-plain-http-to-an-ssl-enabled-server-port/

"Homo sum; humani nil a me alienum puto" - Publius Terentius Afer
"Program are meant to be read by humans and only incidentally for computers and execute" - Donald Knuth, "The Art of Computer Programming"
:naughty:ย ย :ranting:, beย ย :)ย and ย  ย  ย  \\//_.

Anticipating Errorsย :ย ย "Any program that accepts data from a user must include code to validate that data before sending it to the data store. You cannot rely on the data store, ...., or even your programming language to notify you of problems. You must check every byte entered by your users, making sure that data is the correct type for its field and that required fields are not empty."

Signature last update: 2023-04-24

Link to comment
Share on other sites

13 hours ago, mLipok said:

What exactly does it do

13 hours ago, Jokerman said:

Question 1: You can get those markersย by enabling the "In addition, add a marker to the line" in ISN AutoIt Studio's Settings (after you select "Script Editor" in Navigation it's under "Write settings").

with Scintilla ?

This is ISN custom code. If "In addition, add a marker to the line" is enabled, the ISN draws the arrow marker via SCI_MARKERADD on a line.

ย 

On 10/8/2021 at 8:57 AM, mLipok said:

Questoin 1: How did you enable this >>>ย ย in lines 51-67ย  ?
Questoin 2: And why there is no such >>> in line 84ย ?

And that error is connected to the bug Jokerman found. The ISN currently draws itยดs intellimarks and markers only in the visible area. (Via SCI_GETFIRSTVISIBLELINE and SCI_LINESONSCREEN) But for some reason the SCI_LINESONSCREEN value does not change when areas are folded...so the ISN draws less lines what the user accually see in the editor...and here we have our problem.
I am working on it ;)

Link to comment
Share on other sites

But I was able to fire the same problem in SciTE.

So yesย 

11 minutes ago, ISI360 said:

the ISN draws the arrow marker via SCI_MARKERADD on a line

But which part of this issue is strictly related to scintlla ?

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 Code *ย for other useful stuffย click the following button:

Spoiler

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

My contribution (my own projects):ย *ย Debenu Quick PDF Library - UDFย *ย Debenu PDF Viewer SDK - UDFย *ย Acrobat Reader - ActiveX Viewerย * UDF for PDFCreator v1.x.xย *ย XZip - UDFย *ย AppCompatFlagsย UDFย *ย CrowdinAPIย UDFย *ย _WinMergeCompare2Files()ย *ย _JavaExceptionAdd()ย *ย _IsBeta()ย *ย Writing DPI Awareness App - workaroundย *ย _AutoIt_RequiredVersion()ย * Chilkatsoft.au3 UDFย *ย TeamViewer.au3 UDFย *ย JavaManagement UDFย *ย VIES over SOAPย * WinSCP UDFย * GHAPI UDF - modest begining - comunication with GitHub REST API *ย ErrorLog.au3 UDF - A logging Libraryย *ย Include Dependency Tree (Tool for analyzing script relations)ย *ย Show_Macro_Values.au3 *

ย 

My contribution to others projects or UDF based on ย others projects:ย *ย _sql.au3 UDFย ย * POP3.au3 UDFย * ย RTF Printer - UDFย * XML.au3 UDFย * ADO.au3 UDF *ย SMTP Mailer UDFย *ย Dual Monitor resolution detection * *ย 2GUI on Dual Monitor System * _SciLexer.au3 UDFย *ย SciTE - Lexer for console pane *ย 

Useful links:ย * Forum Rulesย *ย Forum etiquetteย *ย  Forum Information and FAQsย *ย How to post code on the forumย *ย AutoIt Online Documentationย *ย AutoIt Online Beta Documentationย *ย SciTE4AutoIt3 getting startedย *ย Convert text blocks to AutoIt codeย *ย Games made in Autoitย *ย Programming related sitesย *ย Polish AutoIt Tutorialย *ย DllCall Code Generatorย *ย 

Wiki:ย *ย Expand your knowledge - AutoIt Wikiย *ย Collection of User Defined Functionsย *ย How to use HelpFileย *ย Good coding practices in AutoItย *ย 

OpenOffice/LibreOffice/XLS Related:ย WriterDemo.au3ย *ย XLS/MDB from scratch with ADOX

IE Related:ย ย *ย How to use IE.au3 ย UDF with ย AutoIt v3.3.14.xย *ย Why isn't Autoit able to click a Javascript Dialog?ย *ย Clicking javascript button with no IDย *ย IE document >> save as MHT fileย * IETab Switcher (by LarsJ )ย *ย HTML Entities * _IEquerySelectorAll() (by uncommon)ย *ย IE in TaskScheduler *ย IE Embedded Control Versioning (use IE9+ and HTML5 in a GUI)ย *ย PDFย Related: *ย How to get reference to PDF object embeded in IE * IE on Windows 11 *ย 

I encourage you to read:ย * Global Varsย * Best Coding Practicesย *ย Please explain code used in Help file for several File functionsย *ย OOP-like approach in AutoItย * UDF-Spec Questionsย *ย  EXAMPLE: How To Catch ConsoleWrite() output to a file or to CMDย *

I also encourage you to check awesome @trancexxย code:ย  *ย Create COM objects from modules without any demand on user to register anything. * Another COM object registering stuff *ย OnHungApp handler *ย Avoid "AutoIt Error" message box in unknown errorsย ย *ย HTML editor *ย 

winhttp.au3 related :ย *ย https://www.autoitscript.com/forum/topic/206771-winhttpau3-download-problem-youre-speaking-plain-http-to-an-ssl-enabled-server-port/

"Homo sum; humani nil a me alienum puto" - Publius Terentius Afer
"Program are meant to be read by humans and only incidentally for computers and execute" - Donald Knuth, "The Art of Computer Programming"
:naughty:ย ย :ranting:, beย ย :)ย and ย  ย  ย  \\//_.

Anticipating Errorsย :ย ย "Any program that accepts data from a user must include code to validate that data before sending it to the data store. You cannot rely on the data store, ...., or even your programming language to notify you of problems. You must check every byte entered by your users, making sure that data is the correct type for its field and that required fields are not empty."

Signature last update: 2023-04-24

Link to comment
Share on other sites

36 minutes ago, mLipok said:

But which part of this issue is strictly related to scintlla ?

Donยดt know how SciTE internaly handles these stuff. Maybe it also uses SCI_LINESONSCREEN...which should (in my understanding) get the lines what the user sees in the window...but when some lines are folded the returned value is wrong.

Edited by ISI360
Link to comment
Share on other sites

Which version of scintilla ISN uses?

Was you able easily replicate the same issue in ISN ?

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 Code *ย for other useful stuffย click the following button:

Spoiler

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

My contribution (my own projects):ย *ย Debenu Quick PDF Library - UDFย *ย Debenu PDF Viewer SDK - UDFย *ย Acrobat Reader - ActiveX Viewerย * UDF for PDFCreator v1.x.xย *ย XZip - UDFย *ย AppCompatFlagsย UDFย *ย CrowdinAPIย UDFย *ย _WinMergeCompare2Files()ย *ย _JavaExceptionAdd()ย *ย _IsBeta()ย *ย Writing DPI Awareness App - workaroundย *ย _AutoIt_RequiredVersion()ย * Chilkatsoft.au3 UDFย *ย TeamViewer.au3 UDFย *ย JavaManagement UDFย *ย VIES over SOAPย * WinSCP UDFย * GHAPI UDF - modest begining - comunication with GitHub REST API *ย ErrorLog.au3 UDF - A logging Libraryย *ย Include Dependency Tree (Tool for analyzing script relations)ย *ย Show_Macro_Values.au3 *

ย 

My contribution to others projects or UDF based on ย others projects:ย *ย _sql.au3 UDFย ย * POP3.au3 UDFย * ย RTF Printer - UDFย * XML.au3 UDFย * ADO.au3 UDF *ย SMTP Mailer UDFย *ย Dual Monitor resolution detection * *ย 2GUI on Dual Monitor System * _SciLexer.au3 UDFย *ย SciTE - Lexer for console pane *ย 

Useful links:ย * Forum Rulesย *ย Forum etiquetteย *ย  Forum Information and FAQsย *ย How to post code on the forumย *ย AutoIt Online Documentationย *ย AutoIt Online Beta Documentationย *ย SciTE4AutoIt3 getting startedย *ย Convert text blocks to AutoIt codeย *ย Games made in Autoitย *ย Programming related sitesย *ย Polish AutoIt Tutorialย *ย DllCall Code Generatorย *ย 

Wiki:ย *ย Expand your knowledge - AutoIt Wikiย *ย Collection of User Defined Functionsย *ย How to use HelpFileย *ย Good coding practices in AutoItย *ย 

OpenOffice/LibreOffice/XLS Related:ย WriterDemo.au3ย *ย XLS/MDB from scratch with ADOX

IE Related:ย ย *ย How to use IE.au3 ย UDF with ย AutoIt v3.3.14.xย *ย Why isn't Autoit able to click a Javascript Dialog?ย *ย Clicking javascript button with no IDย *ย IE document >> save as MHT fileย * IETab Switcher (by LarsJ )ย *ย HTML Entities * _IEquerySelectorAll() (by uncommon)ย *ย IE in TaskScheduler *ย IE Embedded Control Versioning (use IE9+ and HTML5 in a GUI)ย *ย PDFย Related: *ย How to get reference to PDF object embeded in IE * IE on Windows 11 *ย 

I encourage you to read:ย * Global Varsย * Best Coding Practicesย *ย Please explain code used in Help file for several File functionsย *ย OOP-like approach in AutoItย * UDF-Spec Questionsย *ย  EXAMPLE: How To Catch ConsoleWrite() output to a file or to CMDย *

I also encourage you to check awesome @trancexxย code:ย  *ย Create COM objects from modules without any demand on user to register anything. * Another COM object registering stuff *ย OnHungApp handler *ย Avoid "AutoIt Error" message box in unknown errorsย ย *ย HTML editor *ย 

winhttp.au3 related :ย *ย https://www.autoitscript.com/forum/topic/206771-winhttpau3-download-problem-youre-speaking-plain-http-to-an-ssl-enabled-server-port/

"Homo sum; humani nil a me alienum puto" - Publius Terentius Afer
"Program are meant to be read by humans and only incidentally for computers and execute" - Donald Knuth, "The Art of Computer Programming"
:naughty:ย ย :ranting:, beย ย :)ย and ย  ย  ย  \\//_.

Anticipating Errorsย :ย ย "Any program that accepts data from a user must include code to validate that data before sending it to the data store. You cannot rely on the data store, ...., or even your programming language to notify you of problems. You must check every byte entered by your users, making sure that data is the correct type for its field and that required fields are not empty."

Signature last update: 2023-04-24

Link to comment
Share on other sites

Version 1.13 uses the SciLexer 4.1.2.0 (a older version for xp compatibility). In the next update i will replace it with the latest from the autoitscript.com website (4.4.6.0).
But even with 4.4.6.0 the behaviour is the same. I already testing a fix for the ISN at the moment. @Jokerman interested in a testversion?

Edited by ISI360
Link to comment
Share on other sites

10 hours ago, ISI360 said:

Version 1.13 uses the SciLexer 4.1.2.0 (a older version for xp compatibility). In the next update i will replace it with the latest from the autoitscript.com website (4.4.6.0).
But even with 4.4.6.0 the behaviour is the same. I already testing a fix for the ISN at the moment. @Jokerman interested in a testversion?

Thanks for replying to mLipok's questions! I've had my face in code almost nonstop since my last reply.

Sure, I'd be happy to test for you! Feel free to DM to give instructions or whatever.

Link to comment
Share on other sites

  • 3 weeks later...

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

×
×
  • Create New...