Show bad characters not one by one, but in excerpts

This commit is contained in:
Georgy Litvinov 2021-06-06 22:26:53 +02:00
parent b7774aecfe
commit 3d07310e8a

View file

@ -953,7 +953,7 @@ End Function
Function findBadCharacters() As Boolean
Dim founds As Object
founds = findInDoc("[\uE000-\uF8FF]")
founds = findInDoc("[\uE000-\uF8FF]+")
findBadCharacters = false
If founds.count <> 0 Then
MsgBox getTranslation("validationBadSymbolsNotification")
@ -1124,4 +1124,4 @@ Function findInDoc(searchString As String) As Variant
founds = Thiscomponent.findAll(sDesc)
findInDoc = founds
End Function
</script:module>
</script:module>