Hi @mike1950r,
Like @Musashi already suggested, you have to use CTRL+TAB to perform a \t (tab) within a Edit control (like RichEdit).
You can also catch tab-pressing-event by a HotKey and insert your 8 spaces into the RichEdit control, because the default is 4 spaces (1 tab) as far as I know. So if you really need these 8 spaces, adjust your default tab size or use TAB as a HotKey to insert exact 8 spaces.
HotKeySet('{TAB}', '_InsertEightSpaces')
Func _InsertEightSpaces()
_GUICtrlRichEdit_AppendText($hRichEdit, _StringRepeat(' ', 8))
EndFunc
Best regards
Sven