- remove params from
ContextData
- Breaking chages
ContextData
now needs to be specified on adding new item,add(title, sub, icon, context, method, params, hide)
- Add context menu support,
ContextData
by default isparams
proc name for context menu is contextmenu
, and need to register wp.register("contextmenu", contextmenu)
- Added magic actions
- Open plugin's cache dir
- Open plugin's settings dir
- Delete plugin's cached data
- Delete plugin's settings
- Open plugin's dir
- Open plugin help URL in browser
- Magic actions can be run with
plugin:
keyword, eg:plugin:help
newWox
now may havehelp
url for "Open plugin help URL in browser" magic action(default is empty string)newWox
is generatinginfo.png
anddelete.png
in theImages
folder(if they don't exist).
- Breaking chages replace deprecated procs and requires nim v0.19.0
- Replaced deprecated procs
- In
json
modulegetNum
=>getInt
getFNum
=>getFloat
getBVal
=>getBool
- In
time
moduletoSeconds
=>toUnixFloat
- In
sets
moduletoSet
=>toHashSet
- Added
unicode
modulestrutils.toLower
=>unicode.toLower
strutils.isUpper
=>unicode.isUpper
- Added
unicodeplus
modulestrutils.isDigit
=>unicodeplus.isDigit
- Because
toLower
,isUpper
,isDigit
is now unicode functions, char in capitalized chars score calculation now is unicoderune
(for c in value.runes:
) - Removed allredy covered cases from
cmpSort
,cmpFilter
- Created temp variable for
getPluginInfo
due to observable stores warning
- In
- Requires
nim >= 0.19.0
,unicodeplus >= 0.8.0