From 2c5dbf1e075dbe366dcb1709c177b898cfcf0864 Mon Sep 17 00:00:00 2001 From: Mahmoud Gomaa Date: Sun, 29 May 2022 23:29:57 +0200 Subject: [PATCH] update to version 1.6 --- docs/syntax/static.html | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/docs/syntax/static.html b/docs/syntax/static.html index bdbf0cb..f4c897b 100644 --- a/docs/syntax/static.html +++ b/docs/syntax/static.html @@ -1,4 +1,4 @@ -

Static Items

+

Static Items


This section modifies context menu items added by the system or by a third party. more than one item can be added with some properties to customize the context menu. explained below in more details.
The items must have the property find. to search in the titles of the menu items to catches them and customize by other properties such as changing the title, icon, visibility, or moving it to another location.

In the following example, it shows how to write add an items to static:

@@ -33,6 +33,18 @@ Accept menuitem when the specific menuitem title is contains or equal to the current find property.
Use this delimiter | to separate patterns.

This property must be included with another property at least if where property is not defined.

Default = null +

Syntax

+find = 'undo' Find any word contains "undo"
+find = '"undo"' Match whole word only
+find = '*undo' Find a word that ends with
+find = 'undo*' Find a word that starts with
+
+find = '!undo' Find any word not contains "undo"
+find = '!"undo"' Search for any word not equal to "undo"
+find = '!*undo' Find a word that not ends with
+find = 'undo*!' Find a word that starts with
+
+find = 'undo delete|undo copy' Find an equal title for "undo delete" or "undo copy" @@ -192,6 +204,19 @@

Show keyboard shortcuts.

Default = null + + Tip + +

Show a tip for the current item

+ Default = null
+ Syntax
+

+tip = "Lorem Ipsum is simply dummy text."
+tip = ["Lorem Ipsum is simply dummy text.", tip.info]
+tip = ["Lorem Ipsum is simply dummy text.", tip.info, 1.2]
+
+ + Default