lintalist / lintalist

Searchable interactive texts to copy & paste text, run scripts, using easily exchangeable bundles
https://lintalist.github.io/
GNU General Public License v2.0
276 stars 30 forks source link

Is there any plan to upgrade Lintalist to AHK V2? #254

Open valuex opened 1 year ago

valuex commented 1 year ago

I've counted that there are 15188 lines of code for *.ahk files.
It is very amazing! Obviously, there is a lot things to be done shifting from AHK V1 to AHK V2. Do you think it is worthy to do this kind of shifting?

<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns="http://www.w3.org/TR/REC-html40">

File | Lines | Public Lib with V2 support -- | -- | -- D:\Downloads\lintalist64\lintalist.ahk | 3209 |   D:\Downloads\lintalist64\extras\BundleConverters\CSV.ahk | 167 |   D:\Downloads\lintalist64\extras\BundleConverters\List.ahk | 30 |   D:\Downloads\lintalist64\extras\BundleConverters\Texter.ahk | 75 |   D:\Downloads\lintalist64\extras\BundleConverters\UltraEdit.ahk | 126 |   D:\Downloads\lintalist64\extras\BundleConverters\_GetSourceFile.ahk | 14 |   D:\Downloads\lintalist64\extras\BundleConverters\_SaveBundleFile.ahk | 56 |   D:\Downloads\lintalist64\include\AutoXYWH.ahk | 42 |   D:\Downloads\lintalist64\include\BundlePropertiesEditor.ahk | 236 |   D:\Downloads\lintalist64\include\Class_CtlColors.ahk | 302 |   D:\Downloads\lintalist64\include\Class_LV_Colors.ahk | 343 |   D:\Downloads\lintalist64\include\Class_Toolbar.ahk | 1266 |   D:\Downloads\lintalist64\include\CounterEditor.ahk | 232 |   D:\Downloads\lintalist64\include\Default.ahk | 310 |   D:\Downloads\lintalist64\include\Editor.ahk | 944 |   D:\Downloads\lintalist64\include\FixURI.ahk | 123 |   D:\Downloads\lintalist64\include\Func_IniSettingsEditor_v6.ahk | 584 |   D:\Downloads\lintalist64\include\GuiCheckXYPos.ahk | 14 |   D:\Downloads\lintalist64\include\GuiSettings.ahk | 111 |   D:\Downloads\lintalist64\include\ImageList.ahk | 111 |   D:\Downloads\lintalist64\include\LetterVariations.ahk | 68 |   D:\Downloads\lintalist64\include\LocalBundleEditor.ahk | 254 |   D:\Downloads\lintalist64\include\Markdown2HTML.ahk | 302 |   D:\Downloads\lintalist64\include\ObjectBundles.ahk | 435 |   D:\Downloads\lintalist64\include\PlaySound.ahk | 71 |   D:\Downloads\lintalist64\include\PluginHelper.ahk | 133 |   D:\Downloads\lintalist64\include\QuickStart.ahk | 49 |   D:\Downloads\lintalist64\include\ReadAltPasteIni.ahk | 116 |   D:\Downloads\lintalist64\include\ReadIni.ahk | 329 |   D:\Downloads\lintalist64\include\ReadLineFeedIni.ahk | 67 |   D:\Downloads\lintalist64\include\ReadMultiCaretIni.ahk | 96 |   D:\Downloads\lintalist64\include\ReadTheme.ahk | 58 |   D:\Downloads\lintalist64\include\Restart.ahk | 34 |   D:\Downloads\lintalist64\include\SetIcon.ahk | 197 |   D:\Downloads\lintalist64\include\SetShortcuts.ahk | 57 |   D:\Downloads\lintalist64\include\showabout.ahk | 46 |   D:\Downloads\lintalist64\include\Statistics.ahk | 224 |   D:\Downloads\lintalist64\include\StayOnMonitor.ahk | 143 |   D:\Downloads\lintalist64\include\TitleCase.ahk | 123 |   D:\Downloads\lintalist64\include\Update.ahk | 230 |   D:\Downloads\lintalist64\include\WinClip.ahk | 1061 | Y D:\Downloads\lintalist64\include\WinClipAPI.ahk | 271 | Y D:\Downloads\lintalist64\include\ZipFile.ahk | 229 |   D:\Downloads\lintalist64\include\RichCode\AHK.ahk | 76 |   D:\Downloads\lintalist64\include\RichCode\RichCode.ahk | 427 |   D:\Downloads\lintalist64\include\RichCode\SnippetHTML.ahk | 74 |   D:\Downloads\lintalist64\include\RichCode\Util.ahk | 107 |   D:\Downloads\lintalist64\plugins\C.ahk | 42 |   D:\Downloads\lintalist64\plugins\Calc.ahk | 280 |   D:\Downloads\lintalist64\plugins\Calendar.ahk | 78 |   D:\Downloads\lintalist64\plugins\Choice.ahk | 205 |   D:\Downloads\lintalist64\plugins\ClipSelExFunc.ahk | 70 |   D:\Downloads\lintalist64\plugins\Comment.ahk | 17 |   D:\Downloads\lintalist64\plugins\Counter.ahk | 99 |   D:\Downloads\lintalist64\plugins\DateTime.ahk | 36 |   D:\Downloads\lintalist64\plugins\File.ahk | 54 |   D:\Downloads\lintalist64\plugins\FileList.ahk | 186 |   D:\Downloads\lintalist64\plugins\Functions.ahk | 22 |   D:\Downloads\lintalist64\plugins\Input.ahk | 36 |   D:\Downloads\lintalist64\plugins\MyFunctions.ahk | 12 |   D:\Downloads\lintalist64\plugins\MyPlugins.ahk | 12 |   D:\Downloads\lintalist64\plugins\PasteMethod.ahk | 34 |   D:\Downloads\lintalist64\plugins\Plugins.ahk | 41 |   D:\Downloads\lintalist64\plugins\Random.ahk | 54 |   D:\Downloads\lintalist64\plugins\Selected.ahk | 88 |   D:\Downloads\lintalist64\plugins\Snippet.ahk | 31 |   D:\Downloads\lintalist64\plugins\Split.ahk | 99 |   D:\Downloads\lintalist64\plugins\SplitRepeat.ahk | 95 |   D:\Downloads\lintalist64\plugins\String.ahk | 25 |  

lintalist commented 1 year ago

There are no plans as of yet and no need either, if it works it works - as long as AutoHotkey v1.1 continues to work there is no need to worry. Lintalist uses various libraries and functions developed by others, some may be updated to v2 or already have been, others never will be updated - so some options may not become available or alternatives must be developed.

Source: https://github.com/lintalist/lintalist/discussions/235

Edit: given the state of the code (quite messy) it would have to be an entire rewrite.

valuex commented 1 year ago

Thanks for listening. I'd like to share another project here to show what AHK V2 can do. This is a project using AHK v2 to manage snippets. https://github.com/sxzxs/cherry-snippet-v2 It uses AHK V2 and webview2 for previewing. And instant indexing is also supported. Which means that there is no need for pop-up window, so that user can type fluently without disturbing by pop-up window. Of course, the actual code is a window showing at the caret position, but it is shown like a IME mode. It is good for continious typing. For these new features, AHK V1 can help to implement, but may take long time and not good enough. So how about starting Lintalist in AHK V2 from a lite version, and add the new features gradually.