External Tools plugin how-to?

Plugins for SynWrite and CudaText...
Stefan
Posts: 112
Joined: 06.10.2012 15:06

Post by Stefan »

qwerky wrote:The text file, which may be altered by the user, is a help file for all the CudaText commands and their hotkeys, as I have them defined.
Guess you're doing it to flex your ahk muscles?
Instead of re-inventing the wheel, you could pop up an existing viewer:
https://theguide.sourceforge.net/features.html

Or simply open a text file in Cuda itself, in a floating group.

Or display your hotkeys in sortable columns, using Cuda's plugin Configure Hotkeys. It can also generate a html cheat sheet with a matrix overview (among other views).
qwerky
Posts: 172
Joined: 21.10.2013 00:58

Post by qwerky »

Haha... I spent way too much time looking for a simple viewer, but I was searching for some rather stringent requirements. The one you linked is very nice, but I was hoping for something that had no extra screen components; i.e. no sidebar, no menubar, no toolbar, etc.; just maybe a title bar. The AutoHotkey one I'm building is just that, though admittedly it is limited and doesn't have a search feature like the one you linked, which would also be nice. Some here might remember, from the old DOS days, Qedit, which had such a help feature that I am trying to mimic.

At your suggestion, I tried a CudaText floating group, but I keep getting an Access Violation. :?

As for the Configure Hotkeys plugin, I'll need to give that one a look...

Thanks for all the input!
Stefan
Posts: 112
Joined: 06.10.2012 15:06

Post by Stefan »

Nothing wrong with re-inventing the wheel.
To learn deeply, learn from experience.
To learn quickly, learn from others.

https://www.desiquintans.com/articles.p ... scratchpad
main Alexey
Posts: 2257
Joined: 25.08.2021 18:15

Post by main Alexey »

>I tried a CudaText floating group, but I keep getting an Access Violation. :?

Please, give me steps to repeat the A.V., must be a bug.
qwerky
Posts: 172
Joined: 21.10.2013 00:58

Post by qwerky »

On Windows 10 x64, using CudaText 1.186.0.0 x64 maximized, with several tabs open in a single group, none of which are modified, go to Command Palette, type float to see those commands, select "groups: move tab to group floating-1", and execute it. A new window appears with the tab in it, and immediately an Access Violation dialog opens.
main Alexey
Posts: 2257
Joined: 25.08.2021 18:15

Post by main Alexey »

Thanks; did not see the A.V. on linux, in 1.186.2.
Last edited by main Alexey on 06.03.2023 17:16, edited 1 time in total.
main Alexey
Posts: 2257
Joined: 25.08.2021 18:15

Post by main Alexey »

Ops, you have 1.186.0 - but Stefan helped to fix the similar bug!

1.186.2 (2023/03)
- fix: crash on calling "move tab to group 2" from Command Palette (thanks @Stefan)

So please re-test with 1.186.2, I see its very similar bug.
qwerky
Posts: 172
Joined: 21.10.2013 00:58

Post by qwerky »

That's it! Problem resolved, thanks Alexey and Stefan. :lol:
qwerky
Posts: 172
Joined: 21.10.2013 00:58

Post by qwerky »

Stefan wrote: To learn deeply, learn from experience.
To learn quickly, learn from others.
Good quote. Who's it from?
Stefan
Posts: 112
Joined: 06.10.2012 15:06

Post by Stefan »

qwerky wrote: Good quote. Who's it from?
Attributed to various authors. True source unknown.

Btw, I linked you to Scratchpad, because it comes with the source.ahk. The ahk forum also has plenty of barebone code snippets, as you probably have discovered yourse
Post Reply