[R-Editor] Fixed completion of sub elements of source code frames

Signed-off-by: Stephan Wahlbrink <sw@wahlbrink.eu>