Skip to content
Snippets Groups Projects
user avatar
Marcin Krzyzanowski authored
The existing code used textElements(for:) which can return an empty array. This patch uses enumerateTextElements(from:) instead, which is safer since it can enumerate elements starting at a given location without the risk of an empty result.
5ac3da2a
History
Name Last commit Last update