Often i want to see more
then one kind of mark (Space, Tab, Line ends, End of file)
and therefor i have to go three/four times to the menu “View > Marks”
to enable or disable only one mark kind at each visit.
Here is an simple macro to toggle (enable/disable)
the view of all kind of marks at once:
//Shows or hides space marks.
editor.ExecuteCommandByID(4535);
//Shows or hides the tab mark.
editor.ExecuteCommandByID(4534);
//Shows or hides return marks.
editor.ExecuteCommandByID(4532);
//Shows or hides the end of file mark.
editor.ExecuteCommandByID(4533);
I vote to make this an default feature of the “View > Marks” menu :-D
Or maybe add Space marks to this command?
//Toggles new line, EOF and tab marks.
editor.ExecuteCommandByID(4370);
Then i would even use the toolbar button “Marks”
.