AHK-v2-script-converter icon indicating copy to clipboard operation
AHK-v2-script-converter copied to clipboard

remove external javascript compare tool?

Open mmikeww opened this issue 5 years ago • 8 comments

could use this all AHK solution:

https://www.autohotkey.com/boards/viewtopic.php?f=6&t=59029

maybe not, i don't think that rich edit textbox can display line numbers

mmikeww avatar Feb 10 '19 14:02 mmikeww

There are v1 examples of rich edit textbox with line numbers I have started an attempt to convert the richedit Class. https://www.autohotkey.com/boards/viewtopic.php?f=82&t=94397

dmtr99 avatar Sep 04 '21 22:09 dmtr99

I'm not sure how necessary it is to move away from the javascript diff tool, it seems to work fine

mmikeww avatar Sep 05 '21 20:09 mmikeww

True, but I was kind of interested in how richedit works, but could not find a working V2 Version.

I was missing some some custom functionalities so I created my own Gui script to quickly convert and write scripts (testFiles.ahk). I will probably rename it and mark is as a possible tester tool. I use it a lot. I also added a button to compare the scripts in VS code, as it is indeed silly to spend a lot of time to something that already exists. Helpfull features are:

  • Looking up the ahk help files of the different versions
  • Testing (view V1, converted V2 and Expected V2 Scripts)
  • Creating tests.
  • Converting selected text (XButton1)
  • Running the v1 and v2 scripts quickly
  • Closing the scripts
  • Compare with VS code (if installed)
  • Displaying the hidden Symbols (I cheat and just replace every hidden simbol :D )

In the end, it does not affect the main ConvertFuncs.ahk function.

dmtr99 avatar Sep 06 '21 18:09 dmtr99

I looked at your personal repository, and seems youre doing a ton of work. I also see that you're being much more disciplined to keep each individual commit limited to smaller distinct changes. This is a good practice. Do you want direct write access to this repository, and then you can push your changes directly here?

mmikeww avatar Sep 07 '21 04:09 mmikeww

You can give it to me if you want, then I will just upload my changes in your repository.

dmtr99 avatar Sep 07 '21 17:09 dmtr99

ok i think i've invited you

mmikeww avatar Sep 07 '21 17:09 mmikeww

As far as I can see, I do not have write access I have made a minor pull request :D

dmtr99 avatar Sep 07 '21 21:09 dmtr99

Here's what it shows me:

image

mmikeww avatar Sep 07 '21 22:09 mmikeww