Hi guys,
I want to get one certain line of a text, which is in the text editor. It should be something like bpy.data.texts.get[“mytextfile”].select_line(5)?
Hi guys,
I want to get one certain line of a text, which is in the text editor. It should be something like bpy.data.texts.get[“mytextfile”].select_line(5)?
bpy.data.texts.get[“mytextfile”].lines[5].body
you were close!