From 6e811b0e87d9ff8be4412cce3a2c627746a9ccaa Mon Sep 17 00:00:00 2001 From: Lintalist Date: Sat, 22 Jul 2023 15:02:05 +0200 Subject: [PATCH] Lintalist v1.9.22 Quote file paths in Snippet Editor; StartSearchHotkeyTimeOut improvements --- changelog.md | 9 ++- docs/index.html | 55 +++++++++---------- docs/style.css | 18 +++++- include/Editor.ahk | 7 ++- include/settings/StartSearchHotkeyTimeOut.ini | 1 + lintalist.ahk | 31 +++++++---- version.ini | 2 +- 7 files changed, 78 insertions(+), 45 deletions(-) diff --git a/changelog.md b/changelog.md index fb61b20..7991ebd 100644 --- a/changelog.md +++ b/changelog.md @@ -1,8 +1,13 @@ +### v1.9.22 + +* Fix: StartSearchHotkeyTimeOut should now work (better) with both StartSearchHotkey and StartOmniSearchHotkey, incl. modifier keys https://github.com/lintalist/lintalist/issues/247#issuecomment-1627195701 +* Fix: Quote file paths in "Edit in Editor" (Snippet Editor) avoiding errors with spaces in paths https://github.com/lintalist/lintalist/issues/249 + ### v1.9.21 * New: Toggle timer to StartSearchHotkey activation + option to disable to toggle view mode (wide/narrow) see settings StartSearchHotkeyTimeOut and StartSearchHotkeyToggleView https://github.com/lintalist/lintalist/issues/247 -* New: ShorthandPart2 setting to paste Part2 of snippet, simular to QuickSearchHotkey2 https://github.com/lintalist/lintalist/discussions/242 +* New: ShorthandPart2 setting to paste Part2 of snippet, similar to QuickSearchHotkey2 https://github.com/lintalist/lintalist/discussions/242 * Fix: Shorthand not being saved when reloading with default bundle only https://github.com/lintalist/lintalist/issues/246 ### v1.9.20 @@ -308,7 +313,7 @@ Windows media or user files) ht @starstuff - https://github.com/lintalist/lintalist/issues/45 * New: SearchLetterVariations setting - Allow for variations of letters in search query - Searching for 'e' is translated to searching for 'e���...' etc + Searching for 'e' is translated to searching for 'eéèê...' etc You can toggle this setting via the Search GUI - https://github.com/lintalist/lintalist/issues/33 Note: Consequence for Fuzzy search is that this now always using a RegEx which could be slower. * New: added help menu with Help and About options and added About to tray menu - https://github.com/lintalist/lintalist/issues/47 diff --git a/docs/index.html b/docs/index.html index 59792dc..16f8e8f 100644 --- a/docs/index.html +++ b/docs/index.html @@ -20,7 +20,7 @@

Lintalist is open source and developed in AutoHotkey, an easy to learn scripting language for Windows. [WinXP(sp3)/Vista/7/8/10]
-doc rev. 20230205

+doc rev. 20230722

@@ -86,17 +86,16 @@
  • Portablefreeware.com
  • Donationcoder.com
  • AlternativeTo
  • -
  • @lintalist
  • -

    Download Lintalist 1.9.21 +

    Download Lintalist 1.9.22

    Download Lintalist Download (incl. source):
    -Latest release (919 kb)
    Simply unpack and run lintalist.ahk or lintalist.exe
    +Latest release (920 kb)
    Simply unpack and run lintalist.ahk or lintalist.exe

    Lintalist is a portable application. It stores all settings and bundles in the folder the program resides in. More... @@ -188,7 +187,7 @@

    Installing Lintal If you are already an AutoHotkey user and have it installed, it is recommended to run Lintalist.ahk, this will ensure you will be running Lintalist with your preferred version of AutoHotkey. If you don't have AutoHotkey installed you can start Lintalist.exe. Notes: -- Lintalist.exe: A renamed AutoHotkey.exe (v1.1.37.00 32-bit Unicode, See https://autohotkey.com/ and/or https://autohotkey.com/download/) +- Lintalist.exe: A renamed AutoHotkey.exe (v1.1.37.01 32/64-bit Unicode, See https://autohotkey.com/ and/or https://autohotkey.com/download/) - Lintalist.ahk: The actual (main) source code of the program (see https://github.com/lintalist/lintalist)

    Normal use: Starting Lintalist and searching for a Snippet

    @@ -206,7 +205,7 @@

    Normal use: Starting Li If you press the same hotkey again while the Lintalist Search window is active it will toggle between the Wide & Narrow view. You can set the width and height of both views via the configuration menu. -While you type, the number of results will decrease (called incremental search or quick filter). A small icon indicates if it is purely a text snippet Lintalist text snippet or if it actually will run a script Lintalist script snippet. You can turn the icons on and off via the configuration menu (ShowIcons setting), you can also influence the order of the results by setting various sorting options (see SortByUsage and ColumnSort settings). +While you type, the number of results will decrease (called incremental search or quick filter). A small icon indicates if it is purely a text snippet Lintalist text snippet or if it actually will run a script Lintalist script snippet. You can turn the icons on and off via the configuration menu (ShowIcons setting), you can also influence the order of the results by setting various sorting options (see SortByUsage and ColumnSort settings). After pressing ENTER on a selected entry from the results list, by default the text (Part1) is pasted in the active program (note the explanation above). SHIFT+ENTER and ENTER will use the first item in the results list unless you have selected another item with the arrow keys. Depending on the snippet either a text is pasted OR a script is run (note explanation above). [v1.9.7+] If you just want to copy the snippet to the clipboard and not paste it press Alt+ENTER for Part 1 and Alt+Shift+ENTER for Part 2. @@ -214,7 +213,7 @@

    Normal use: Starting Li You can also use the Up and Down keys to navigate through the list. You can select a different bundle or load all bundles via the Bundle menu. If you choose a bundle from the bundle menu (Alt+b), that bundle will be locked (toolbar icon: locked icon) and always remain active until you unlock it (Alt+l, letter l). If enabled you can use Alt+1..0 for the first ten search results. [v1.9.9]+ -What happens when you (double) click on an entry in the list is determined by a setting in the configuration menu. (SingleClickSends and DoubleClickSends setting) +What happens when you (double) click on an entry in the list is determined by a setting in the configuration menu. (SingleClickSends and DoubleClickSends setting) Default bundle: there is also a default bundle which is always loaded - unless you lock a specific bundle - that way you always have your generic snippets available in every program. @@ -280,7 +279,7 @@

    RegEx & Case sensit Sometimes accented letters are part of the text you are searching for. These can be difficult or slow to type. By adding the variations of these letters to the search string you can search for 'cafe' but still find 'café'. So the 'e' in the query will be translated to searching for 'eéèêḙěĕẽḛẻėëēȩęᶒɇȅếềễểḝḗḕȇẹệæǽǣœᵫ'. When active all search modes will use a Regular Expression (Regular and Fuzzy) -(De)Activate the setting via the Lv button in the Search GUI (Alt+v) or the SearchLetterVariations setting in the Configuration menu. +(De)Activate the setting via the Lv button in the Search GUI (Alt+v) or the SearchLetterVariations setting in the Configuration menu. More information in the comments of 'include\LetterVariations.ahk'

    OmniSearch (search all bundles)

    @@ -306,7 +305,7 @@

    OmniSearch (search all b 3. Omnisearch shortcuts - While search GUI is active: press F2 to toggle the Omnisearch. -- If you press Ctrl+Capslock the search GUI is opened in Omnisearch mode (tip: use F2 to toggle). You can define the hotkey in the settings (StartOmniSearchHotkey) +- If you press Ctrl+Capslock the search GUI is opened in Omnisearch mode (tip: use F2 to toggle). You can define the hotkey in the settings - StartOmniSearchHotkey Note: while using option 2 & 3 the text "(All)" will be added to the statusbar (bottom right) to indicate you are using Omnisearch when the results are updated. @@ -314,7 +313,7 @@

    ColumnSe By default Lintalist tries to find matches in part1, part2, and shorthand of a snippet while searching. -When you start your query with a number (1 to 5), followed by a predefined character (< by default, ColumnSearchDelimiter in the settings) Lintalist will search in a specific part of a snippet. To disable this feature erase the ColumnSearchDelimiter in the settings. +When you start your query with a number (1 to 5), followed by a predefined character (< by default, ColumnSearchDelimiter in the settings) Lintalist will search in a specific part of a snippet. To disable this feature erase the ColumnSearchDelimiter in the settings. Query: state -> will find "state" in part1, part2, and shorthand of a snippet Query: 1<state -> will find "state" only if it is found in part1 of a snippet @@ -364,8 +363,8 @@

    Lintali -Capslock Start Searching (Open Lintalist search window, change via configuration, StartSearchHotkey setting). If already active you can toggle between Wide and Narrow view. -As of v1.9.10+ there is a setting to also use this key to Hide the search window: StartSearchHotkeyToggle. +Capslock Start Searching (Open Lintalist search window, change via configuration, StartSearchHotkey setting). If already active you can toggle between Wide and Narrow view. +As of v1.9.10+ there is a setting to also use this key to Hide the search window: StartSearchHotkeyToggle. Ctrl+CapslockStart Searching in Omnisearch mode (Open Lintalist searching window, change via config). Winkey+zStart Quick search Ctrl+Winkey+qQuit Lintalist @@ -405,7 +404,7 @@

    Lintali The sort will work even the column is not visible - for example if you do not show the Bundle name in the search results (see DisplayBundle) you can still sort it. Alt+1..0You can use Alt+1 to Alt+0 for the first ten search results. The visual cues are disabled when using ColumnSort other than "NoSort" -These can be disabled via the ShortcutSearchGui setting (Configuration). +These can be disabled via the ShortcutSearchGui setting (Configuration). Ctrl+tToggle Search Window on top on or off. (per search instance) Ctrl+fSet focus on the search box. TabSet focus on the search results (listview) - useful for screenreaders such as NVDA. @@ -414,7 +413,7 @@

    Lintali *1 - If Scripts are Paused the script - if any - will not run and text will be sent - The action for a single- or doubleclick with the left mouse button can be defined in the Configuration menu - (SingleClickSends and DoubleClickSends) + (SingleClickSends and DoubleClickSends) *2 This can be used get the selected snippet into the clipboard using other methods as well, see plugins\readme-howto.txt, "Extending Snippet processing" section @@ -479,7 +478,7 @@

    ConfigurationSingleClickSends as of v1.4 you can also use a single click for the same actions above. + SingleClickSends as of v1.4 you can also use a single click for the same actions above. DefaultBundleFile name e.g. default.txt If no matching bundle can be found based on the window title load this bundle. @@ -495,9 +494,9 @@

    ConfigurationDiscussion @ GH - #104 + Note about TeamViewer: the "send key combinations" option must be enabled (checked) and you may need to experiment with a short/key combination that works for you (the default QuickSearchHotkey shortcut does seem to work out of the box for example, while Capslock may not). Discussion @ GH - #104 - As of v1.9.10+ see the StartSearchHotkeyToggle setting to Show/Hide the Search Window using the same shortcut. + As of v1.9.10+ see the StartSearchHotkeyToggle setting to Show/Hide the Search Window using the same shortcut. QuickSearchHotkeyHotkey used to start quick search: It will cut (ctrl-x) the word to the left, open Lintalist and starts a search. If only one match is found it simply pastes or runs the result directly. @@ -531,17 +530,17 @@

    ConfigurationSettings Lintalist settings -

    MultiCaret

    +

    MultiCaret

    You can define multiple caret locations in your snippet, see the caret plugin for a brief introduction. Detailed information on how to setup MultiCaret.ini in docs/MultiCaret.md. -

    AltPaste

    +

    AltPaste

    By default Lintalist uses ctrl+c, ctrl+v to copy and paste. If you need to use other shortcuts in specific programs (console or graphics applications for example) you can define these in AltPaste.ini, see docs/AltPaste.md for more information. -

    Linefeed

    +

    Linefeed

    Some programs require CRLF to be used for pasting a new line into the document/control (notepad.exe for example) - otherwise pasting a snippet will have its new lines (enters, returns) 'removed' or so it seems:
    line1line2line3
    vs @@ -620,7 +619,7 @@

    Snippets Script *2 If a snippet has a script the Text from Part1 will NOT be pasted but instead the script will be run if Enter or the Shortcut-key keys are pressed. -What happens when you double click on an entry in the list is determined by a setting in the configuration menu. (DoubleClickSends setting) +What happens when you double click on an entry in the list is determined by a setting in the configuration menu. (DoubleClickSends setting) It is advised to always have some useful content in Part1, this will ensure you can always see what you select while searching, even it if the selected snippet runs a script. @@ -771,7 +770,7 @@

    [[..]] (Double square brackets) are used for plugin snippet notation. You can escape these double square brackets to prevent them being interpreted as a plugin: \[\], and \]\] -To escape [,], and | in the options of a plugin, use: <SB, >SB, and ^SB. See ParseEscaped in settings.ini to change this. +To escape [,], and | in the options of a plugin, use: <SB, >SB, and ^SB. See ParseEscaped in settings.ini to change this. @@ -1507,7 +1506,7 @@

    Built-in Variables< -If you want to change which AutoHotkey built-in variables are supported simply edit the AutoHotkeyVariables key in settings.ini (exit Lintalist first before doing so) +If you want to change which AutoHotkey built-in variables are supported simply edit the AutoHotkeyVariables key in settings.ini (exit Lintalist first before doing so) Use [[EnvGet(EnvVarName)]] to read Environment variables. @@ -1795,7 +1794,7 @@

    Command line parameters Usage Running lintalist.exe installed: lintalist.exe lintalist.ahk -Active Usage AutoHotkey installed: lintalist.ahk -Active -There is also a configuration setting that can do this: ActivateWindow +There is also a configuration setting that can do this: ActivateWindow -Bundle=filename.txt: load specific bundle and lock @@ -1812,11 +1811,11 @@

    F.A.Q & Known Issu

    Faq

    Q1: Nothing gets pasted / I just see the letter v (or nothing at all) -A1: You probably need to increase the PasteDelay setting. Right-click tray icon, configuration, PasteDelay. +A1: You probably need to increase the PasteDelay setting. Right-click tray icon, configuration, PasteDelay. Increase the milliseconds. You may need to experiment a bit to find a good setting. Q2: It still does not work! -A2: There are a number of SendMethods you can try. There are 4, Right-click tray icon, configuration, SendMethod. +A2: There are a number of SendMethods you can try. There are 4, Right-click tray icon, configuration, SendMethod. Try various methods until you find one that works, see Q1 as well as you might need to try a number of combinations. A good program to test it in is Notepad. @@ -1848,11 +1847,11 @@

    Known Issues

    K2: It doesn't always work with Flash edit controls A2: When the Lintalist GUI becomes active the Flash (edit) control looses focus. It is not possible to reliably detect and (re)focus these types of controls. If you experience this often you could resort to - manual pasting after you've changed the PasteMethod setting to 1 or 2 - See #68 + manual pasting after you've changed the PasteMethod setting to 1 or 2 - See #68 K3: It doesn't work with programs installed via the Windows Store A3: That seems to be correct and there is no solution for such applications at the moment. - Manual pasting might work here for you as well, see PasteMethod setting or use the PasteMethod hotkey. + Manual pasting might work here for you as well, see PasteMethod setting or use the PasteMethod hotkey.