From a4739d5935fe7f4b0b2a37c676fbb079601aecc8 Mon Sep 17 00:00:00 2001 From: Joe Workman Date: Thu, 30 Jul 2020 07:54:17 -0700 Subject: [PATCH 1/2] New enable operations --- _includes/property-enable.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/_includes/property-enable.md b/_includes/property-enable.md index 0a3b229..cdfb7fb 100644 --- a/_includes/property-enable.md +++ b/_includes/property-enable.md @@ -13,13 +13,17 @@ The enable dictionary defines the ID of another control and the value that other #### Enable Operations * `==` - *(any type)* - ***default*** compares any two values. to maintain backwards compatibility rounding is never applied. *(aliases: `=`, `equals`, `equalTo`)* + * `!=` - *(any type)* - compares any two values are not the same. *(aliases: `notEqual`, `notEqualTo`)* * `<` - *(number)* - less than. *(aliases: `lessThan`)* * `<=` - *(number)* - less than or equal to. *(aliases: `lessThanOrEqualTo`, `lessThanOrEquals`)* * `>` - *(number)* - greater than. *(aliases: `greaterThan`)* * `>=` - *(number)* - greater than or equal to. *(aliases: `greaterThanOrEqualTo`, `greaterThanOrEquals`)* * `contains` - *(string)* - This does a *case insensitive* match of the value anywhere in the string. + * `doesntcontain` - *(string)* - This is the opposite of the `contains` operation. * `matches` - *(string)* - Wildcard match. Examples: `Red` (matches: `Red` and `Reddish`), `R?d` (matches: `Red` and `Rad` ) + * `doesntmatch` - *(string)* - This is the opposite of the `matches` operation. * `caseInsensitiveMatches` - *(string)* - Similar to `matches` but ignores case. + * `caseInsensitiveDoesntMatch` - *(string)* - This is the opposite of the `caseInsensitiveMatches` operation. > **Warning**: creating infinite loops in enable dependencies has undefined behavior. It will likely result in a RapidWeaver crash. From c35de30ede7e244b2258d5886ebd1d3d3ae2fa41 Mon Sep 17 00:00:00 2001 From: Joe Workman Date: Thu, 30 Jul 2020 09:14:38 -0700 Subject: [PATCH 2/2] API 11 enable operation message --- _includes/property-enable.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/_includes/property-enable.md b/_includes/property-enable.md index cdfb7fb..e96ff36 100644 --- a/_includes/property-enable.md +++ b/_includes/property-enable.md @@ -25,6 +25,13 @@ The enable dictionary defines the ID of another control and the value that other * `caseInsensitiveMatches` - *(string)* - Similar to `matches` but ignores case. * `caseInsensitiveDoesntMatch` - *(string)* - This is the opposite of the `caseInsensitiveMatches` operation. +> **Stacks API v11 Operations**: The following enable operations were added in Stacks API v11 for Stacks 4.0 +> +> * `!=`, `notEqual`, `notEqualTo` +> * `doesntcontain` +> * `doesntmatch` +> * `caseInsensitiveDoesntMatch` + > **Warning**: creating infinite loops in enable dependencies has undefined behavior. It will likely result in a RapidWeaver crash.