EmEditor (text editor) Forum Index Questions and Answers about EmEditor Core
Show/hide all visualization characters | Register To Post |
| Threaded | Newest First | Previous Topic | Next Topic | Bottom |
| Poster | Thread |
|---|---|
| zmeskalk | Posted on: 1/17/2010 10:47 am |
Just popping in ![]() ![]() Joined: 1/17/2010 From: Posts: 11 |
Show/hide all visualization characters It's possible show or hide all special visualization characters (tabs, space, cr, crlf, eof etc..) via "one toolbar button" ?
|
| MariaK | Posted on: 1/18/2010 8:58 am |
Quite a regular ![]() ![]() Joined: 2/3/2009 From: Germany Posts: 43 |
Re: Show/hide all visualization characters Yes, but only with a macro; example:
#icon = "Buttons.icl",13 #title = "Show Marks" #tooltip = "Show Marks" // Displays or Hides Marks. myobject = document.Config; if (myobject.Mark.ShowReturns==0 && myobject.Mark.ShowEOF==0 && myobject.Mark.ShowTabs==0 && myobject.Mark.ShowSpaces==0 && ShowDBSpaces==0 && CrLfDifferent==0 && ShowIndentGuides==0 && myobject.Mark.ShowControlCharacters==0) { myobject.Mark.ShowReturns="true"; // Returns myobject.Mark.ShowEOF="true"; // End of File myobject.Mark.ShowTabs="true"; // Tabs myobject.Mark.ShowSpaces="true"; // Spaces myobject.Mark.ShowDBSpaces="true"; // Wide Spaces myobject.Mark.CrLfDifferent="true"; // CR and LF with Different Marks myobject.Mark.ShowIndentGuides="true"; // Indent Guides myobject.Mark.ShowControlCharacters="true"; // Control Characters } else { myobject.Mark.ShowReturns="false"; // Returns myobject.Mark.ShowEOF="false"; // End of File myobject.Mark.ShowTabs="false"; // Tabs myobject.Mark.ShowSpaces="false"; // Spaces myobject.Mark.ShowDBSpaces="false"; // Wide Spaces myobject.Mark.CrLfDifferent="false"; // CR and LF with Different Marks myobject.Mark.ShowIndentGuides="false"; // Indent Guides myobject.Mark.ShowControlCharacters="false"; // Control Characters } myobject.Save(); |
| zmeskalk | Posted on: 1/18/2010 10:55 am |
Just popping in ![]() ![]() Joined: 1/17/2010 From: Posts: 11 |
Re: Show/hide all visualization characters Thank you !!
|
| Stefan | Posted on: 4/8/2013 3:05 am |
Home away from home ![]() ![]() Joined: 7/14/2008 From: Germany, EU Posts: 259 |
Re: Show/hide all visualization characters Toggle ALL marks at once (Space Tabs EOL EOF) 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. I had created an macro for this too (http://www.emeditor.com/modules/newbb/viewtopic.php?topic_id=2042&forum=19) But I want to suggest to add an menu item "View > Marks > Toggle Marks Visibility" |
| Threaded | Newest First | Previous Topic | Next Topic | Top |
| Register To Post | |






