You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Edit: now builtin to v1.9.12 Work around for now: use a script with [[llpart1]] and a StrReplace()
Part 1:
My test with normal [hello]...
Script:
#NoEnv#SingleInstance, forceSetBatchLines, -1ListLines, off
LLInit() ; fake call to load global variables from Lintalist main script - see Docs
ClipSet("s",1,SendMethod,Clipboard) ; store current clipboard contents
ClearClipboard() ; clear it
[[llpart1]]
clipboard:=StrReplace(llpart1,"[hello]","[[hello]]")
Sleep100
SendKey(SendMethod, ShortcutPaste) ; paste changed clipboard using SendMethod defined by Lintalist settingsClipboard:=ClipSet("g",1) ; restore original clipboard contentsExitApp
Additionally we may also want to use [,] and | as option content which currently isn't possible due to the method used to parse plugins and options, so:
To escape [,], and | in the options of a plugin, use: <SB, >SB, and ^SB. See ParseEscaped in settings.ini to change this.
Example snippet
[list]
[[selected=wrap|<SB*>SB ]]
[/list]
just before pasting the snippet <SB and >SB will be replaced with [ and ] respectively resulting in:
[list]
[*] selected line 1
[*] selected line 2
[*] ...
[/list]
Introduce escape notation for [[ and ]] to bypass the contents in between those markers to be interpreted as plugin/function.
Possibly use
\[\[hello\]\]
Ref. https://twitter.com/yonibee/status/1247605109313482753
The text was updated successfully, but these errors were encountered: