Professor_Bernd Posted November 2, 2019 Share Posted November 2, 2019 (edited) For my PSPad4AutoIt3 project I am working on a feature like the CallTips in SciTE. I've already started creating the GUI for it and the information for AutoIt is there ("...\AutoIt3\Extras\Editors\PSPad\AutoIt3.def"). Now the recognition for the function names (NearestWord, ...) and for the position of the parameters is missing. The whole project is pretty big. Therefore and before I develop everything that already exists, I wanted to ask if there is a way to use the CallTip code of SciTE. I don't know who the developer is, so I ask here.😊 Regards, Bernd. Edited November 3, 2019 by Professor_Bernd Link corrected. Link to comment Share on other sites More sharing options...
Developers Jos Posted November 3, 2019 Developers Share Posted November 3, 2019 Calltips are part of the standard SciTE code made by Neil Hodgson and can be found at his website as credited in the SciTE4AutoIt3 helpfile. 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. Link to comment Share on other sites More sharing options...
Professor_Bernd Posted November 3, 2019 Author Share Posted November 3, 2019 I'll take a look. Thanks for the tip. Link to comment Share on other sites More sharing options...
Professor_Bernd Posted November 3, 2019 Author Share Posted November 3, 2019 Oh, almost forgot. Did someone else write a similar code? Link to comment Share on other sites More sharing options...
Professor_Bernd Posted November 3, 2019 Author Share Posted November 3, 2019 7 hours ago, Jos said: Calltips are part of the standard SciTE code made by Neil Hodgson and can be found at his website as credited in the SciTE4AutoIt3 helpfile. Now I looked on the SciTE website and searched for information for CallTips. I've been on the website a thousand times in the past months and it's like a jungle to me. Too bad that there is no search function there. If there is the source code for CallTips there, it probably takes longer to find it than to write my own. Has anyone ever written anything similar, or a tip where I can find information about it? Bernd. Link to comment Share on other sites More sharing options...
Developers Jos Posted November 3, 2019 Developers Share Posted November 3, 2019 (edited) mmm..... my (wild) guess would be that CallTip.cxx contains the Caltip logic. .. but doubt you can just simply port it to PSPAD. Edited November 3, 2019 by Jos Professor_Bernd 1 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. Link to comment Share on other sites More sharing options...
Professor_Bernd Posted November 3, 2019 Author Share Posted November 3, 2019 (edited) Where can I find the CallTip.cxx? Maybe I'm blind, but I can't find them, neither in the AutoIt folder, nor in SciTE nor in the User folder. I searched for "CallTip", without extension. OK, I asked Master Google and found it. Thank you! Edited November 3, 2019 by Professor_Bernd Link to comment Share on other sites More sharing options...
Developers Jos Posted November 3, 2019 Developers Share Posted November 3, 2019 The site has the link to the source for SciTE and scintilla. 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. Link to comment Share on other sites More sharing options...
Professor_Bernd Posted November 3, 2019 Author Share Posted November 3, 2019 I have looked at the CallTip.cxx and it is impressive. Thereby this is only the visual component and its logic, and the recognition and assignment of the code words from au3.api is missing. This will be fun! A lot of work. I already knew that you and others put a lot of work into SciTE, but it makes me realize how much work it really was! Respect! 👍 Bernd. Link to comment Share on other sites More sharing options...
Developers Jos Posted November 3, 2019 Developers Share Posted November 3, 2019 (edited) I can't take any credit for the base SciTE code and only wrote the lexer for autoit3 and made some minor modifications to the source distributed by Neil. Edited November 3, 2019 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. Link to comment Share on other sites More sharing options...
Professor_Bernd Posted November 3, 2019 Author Share Posted November 3, 2019 51 minutes ago, Jos said: only wrote the lexer for autoit3 and made some minor modifications to the source distributed by Neil. ... and AutoIt3Wrapper, and ... That's enough to impress me! Good work! 👍 SciTE is a good base and SciTE4AutoIt3 a very good extension to fulfill the task as IDE for AutoIt3. The work of Neil, you and many others (e.g. BugFix, as far as I know) have made SciTE4AutoIt3 what it is now. I hope to do at least half the job on PSPad4AutoIt3. It will be an alternative to SciTE4AutoIt3, so the user can choose according to his taste. The user interest in PSPad4AutoIt3 is so far very low, but that doesn't matter. I have no time or success pressure, and so far it's a lot of fun! The users in the AutoIt forums are friendly and helpful, as is PSPad developer Jan Fiala. What more do you want? Link to comment Share on other sites More sharing options...
abberration Posted November 3, 2019 Share Posted November 3, 2019 Professor_Bernd, Are you planning to have an English translation option in PSPad4AutoIt3? It looks like a nice program. Easy MP3 | Software Installer | Password Manager Link to comment Share on other sites More sharing options...
Professor_Bernd Posted November 3, 2019 Author Share Posted November 3, 2019 Hi abberration. Thank you. 🙂 Can you be a little more specific about what you would like to see in English? AutoIt and PSPad can be set to the desired language as normal. My Improvement Kit is in a very early pre-alpha stage. At this stage it shows all relevant things only in English. E.g. in the main menu / Scripts / _AutoIt / ... or the Fav tools, etc. If anything is not in English, just let me know. Link to comment Share on other sites More sharing options...
abberration Posted November 3, 2019 Share Posted November 3, 2019 Sorry, I should have actually downloaded it. I see it is in English. On the German forum, I saw your file titled " PSPad4AutoIt3 Projekt DE 2019-10-12a.zip " and assumed it was just in German. I am going to play with it. Thank you for your hard work! Easy MP3 | Software Installer | Password Manager Link to comment Share on other sites More sharing options...
Professor_Bernd Posted November 3, 2019 Author Share Posted November 3, 2019 Thank you for your interest! 14 minutes ago, abberration said: I saw your file titled " PSPad4AutoIt3 Projekt DE 2019-10-12a.zip " and assumed it was just in German. This is a good hint! I have named the title DE because I want to see if it can work first. At a later date there may be a PSPad4AutoIt3 EN project if more users are interested. Until then the project name remains with DE, but the next improvement kit I will name it EN. Thanks for the hint! Until then, it has its home in the DE AutoIt forum, and is still basically set to English. You can change this as you like, e.g. in AutoIt, if you have installed the AutoIt help in German, or in French, or Chinese, ... PSPad will use it. Or for PSPad in the menu / Settings / Program Settings / Language / ... you can choose what you want. Please remember that it is at a very early stage! There are only a few features and probably many bugs. At this point there are more improvements that I can (hopefully) make available in 2 or 4 weeks. abberration 1 Link to comment Share on other sites More sharing options...
Professor_Bernd Posted November 3, 2019 Author Share Posted November 3, 2019 What's your opinion? If I name it, should an EN come in, or is it enough without EN? What is more understandable? "PSPad4AutoIt3 - Improvement Kit 2019-xx-xx.zip" "PSPad4AutoIt3 - Improvement Kit EN 2019-xx-xx.zip" Link to comment Share on other sites More sharing options...
Developers Jos Posted November 3, 2019 Developers Share Posted November 3, 2019 2 hours ago, Professor_Bernd said: ... and AutoIt3Wrapper, and ... I was only referringering to the SciTE/Scintilla part itself. 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. Link to comment Share on other sites More sharing options...
Professor_Bernd Posted November 3, 2019 Author Share Posted November 3, 2019 Ah, okay, I get it. And on that occasion: What exactly does a Lexer do? I've researched and read a lot, but I didn't really understand. Can you explain that with simple words? 😜 Link to comment Share on other sites More sharing options...
Developers Jos Posted November 3, 2019 Developers Share Posted November 3, 2019 The lexer takes care of the syntax coloring/highlighting and folding for a specific file extension. Jos Professor_Bernd 1 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. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now