Page 2 of 4
Posted: 04.03.2023 05:50
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).
Posted: 04.03.2023 22:27
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!
Posted: 04.03.2023 23:02
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
Posted: 05.03.2023 08:53
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.
Posted: 06.03.2023 17:01
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.
Posted: 06.03.2023 17:13
by main Alexey
Thanks; did not see the A.V. on linux, in 1.186.2.
Posted: 06.03.2023 17:14
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.
Posted: 06.03.2023 18:21
by qwerky
That's it! Problem resolved, thanks Alexey and Stefan.
Posted: 06.03.2023 18:23
by qwerky
Stefan wrote:
To learn deeply, learn from experience.
To learn quickly, learn from others.
Good quote. Who's it from?
Posted: 06.03.2023 20:38
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