I want to set up a jump function definition for Scite.
But there are #includes in the script, which may be scattered in different scripts.
So wondering, how to get all #include
For example, the picture below. How does it know which script is wrong and indicate the path?
how to get all #include, containing subscripts #include
Re: how to get all #include, containing subscripts #include
SciTE doesn't know anything. AutoHotkey knows at which line of which file it encountered the error, and prints it to StdErr due to the /ErrorStdOut command line switch (shown in your screenshot).
To get all #includes, you must do the same thing that AutoHotkey does; read and parse the file. Recognizing #include should be simple, but if you want to exclude multi-line comments and continuation sections, it is more complicated.
To get all #includes, you must do the same thing that AutoHotkey does; read and parse the file. Recognizing #include should be simple, but if you want to exclude multi-line comments and continuation sections, it is more complicated.
Who is online
Users browsing this forum: No registered users and 17 guests