summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2017-06-08 20:39:00 +0200
committerEike Rathke <erack@redhat.com>2017-06-08 20:40:14 +0200
commit27c5f2586821546ee8281bafb8b5f478ae015ac1 (patch)
tree33d03fdd8bd09cb853a1bdec29c68745da693a6c /sc
parent5ac74f15dcdf85faa2ac1cb7317ea77e31fbcd50 (diff)
Add '~' reference union/list operator to range finder delimiters
... so formula expressions using it actually get the ranges highlighted. Change-Id: Ibb0d2b49101e62b1f219a14d1669a501a450aaf4
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/app/inputhdl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/app/inputhdl.cxx b/sc/source/ui/app/inputhdl.cxx
index 3647a5633502..dfbd1c43bbb3 100644
--- a/sc/source/ui/app/inputhdl.cxx
+++ b/sc/source/ui/app/inputhdl.cxx
@@ -299,7 +299,7 @@ void ScInputHandler::InitRangeFinder( const OUString& rFormula )
ScDocument& rDoc = pDocSh->GetDocument();
const sal_Unicode cSheetSep = lcl_getSheetSeparator(&rDoc);
- OUString aDelimiters = ScEditUtil::ModifyDelimiters(" !\"");
+ OUString aDelimiters = ScEditUtil::ModifyDelimiters(" !~\"");
// delimiters (in addition to ScEditUtil): only characters that are
// allowed in formulas next to references and the quotation mark (so
// string constants can be skipped)