summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorWinfried Donkers <winfrieddonkers@libreoffice.org>2016-01-18 12:27:49 +0100
committerEike Rathke <erack@redhat.com>2016-01-19 13:08:38 +0000
commit1e2bcb3177d58e6f446296ae28fcff7f5da9b620 (patch)
treeab2683c8979e3bc02d5eba8f5bced10897447a60 /sc
parent27c6b8586d5d2cd1fa5425b4969d915a0b739475 (diff)
follow-up of tdf#89031
No function name hints or autocompletion when character right of caret is '$' Change-Id: I4fcfa6e29e5671e97743c7fc520953721d0bda24 Reviewed-on: https://gerrit.libreoffice.org/21577 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/app/inputhdl.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/ui/app/inputhdl.cxx b/sc/source/ui/app/inputhdl.cxx
index 21e8697ee807..9656fe9104b7 100644
--- a/sc/source/ui/app/inputhdl.cxx
+++ b/sc/source/ui/app/inputhdl.cxx
@@ -1228,7 +1228,8 @@ void ScInputHandler::UseFormulaData()
if ( aParagraph.getLength() > aSel.nEndPos &&
( ScGlobal::pCharClass->isLetterNumeric( aParagraph, aSel.nEndPos ) ||
aParagraph[ aSel.nEndPos ] == '_' ||
- aParagraph[ aSel.nEndPos ] == '.' ) )
+ aParagraph[ aSel.nEndPos ] == '.' ||
+ aParagraph[ aSel.nEndPos ] == '$' ) )
return;
// Is the cursor at the end of a word?