#8900
owilsky
Participant

Hi tried this which should do what I want.

#title = "Marks" 
#tooltip = "Toggle Marks ON/OFF"

editor.ExecuteCommandByID(4370); //EEID_VIEW_MARKS (4370)
if(document.Config.Mark.ShowReturns) document.Config.Mark.ShowSpaces = true;
else document.Config.Mark.ShowSpaces = false;

document.Config.Save();

Unfortunately document.Config.Mark.ShowSpaces = true does not do anything for me. What do I do wrong?

Oliver