From 38d6382f0eaac607149dfccbc86b7f2c28a9a8f0 Mon Sep 17 00:00:00 2001 From: Eric Mandel Date: Mon, 17 Aug 2020 12:59:18 -0400 Subject: [PATCH] for ChangeRegions, CopyRegions, GetRegions, RemoveRegions, SelectRegions: -- region arg defaults to "selected" if selected regions exist, else "all" -- previously it only defaulted to "all" -- controlled by JS9.globalOpts.regWhichDefault: "auto" or "all" --- help/publicapi.html | 37 +++++++---- js9-allinone.js | 146 ++++++++++++++++++++++---------------------- js9.js | 52 +++++----------- js9.min.js | 146 ++++++++++++++++++++++---------------------- 4 files changed, 187 insertions(+), 194 deletions(-) diff --git a/help/publicapi.html b/help/publicapi.html index bf19c797..83e56f72 100644 --- a/help/publicapi.html +++ b/help/publicapi.html @@ -3482,8 +3482,10 @@
Get information about one or more regions
  • rarr: array of region objects (or text if opts.format is "text")

    -If the regions argument is not specified, it defaults to "all". You -can specify regions using any of the following: +Get information about one or more regions. +If the regions argument is not specified, it defaults to +"selected" if there are selected regions, otherwise "all". +You can specify regions using any of the following:

    Change one or more regions. -If the regions argument is not specified, it defaults to "all". You -can specify a region selector using any of the following: +If the regions argument is not specified, it defaults to +"selected" if there are selected regions, otherwise "all". +You can specify a region selector using any of the following: