Suggest an option that forces whitespace to be visible when you can't guess it is there. Basically this means trailing whitespaces rather than space within the line. By trailing white space, this is to include space leading up to a screen linebreak caused by wordwrap onto the next line, as well as any whitespace at the real end of a line.
There are several ways to do this.
All whitespace at the real end of a line can be shown with dots/tabs.
Whitespace at the end of a wordwrap-line could either be placed at the start of the next line (so you can see it's there, because of the indent this causes), or otherwise it can be shown as dots, using the following method:
if it's a single space between items broken onto different lines by wordwrap that, without that space, would have not broken onto separate lines, then you don't need to highlight it as you can see it's there by the word wrap position;
however, if it's multiple whitespace, or a space even without which the line would have broken by wordwrap (such as a = b), then show it because you can't guess it's there visually.
e.g. (with the | indicating a new line caused by wordwrap:)
Some text |new line - needn't show the space before the | linebreak because the wordwrap makes it obvious it's there
Some text |new line - needs to show the two spaces before the | linebreak
a |=b - show the space before the | linebreak
Of course if it's a pain to code such fine detail, just showing end-of-screen-line spaces would suffice.
Many thanks for a great program!
david
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Suggest an option that forces whitespace to be visible when you can't guess it is there. Basically this means trailing whitespaces rather than space within the line. By trailing white space, this is to include space leading up to a screen linebreak caused by wordwrap onto the next line, as well as any whitespace at the real end of a line.
There are several ways to do this.
All whitespace at the real end of a line can be shown with dots/tabs.
Whitespace at the end of a wordwrap-line could either be placed at the start of the next line (so you can see it's there, because of the indent this causes), or otherwise it can be shown as dots, using the following method:
if it's a single space between items broken onto different lines by wordwrap that, without that space, would have not broken onto separate lines, then you don't need to highlight it as you can see it's there by the word wrap position;
however, if it's multiple whitespace, or a space even without which the line would have broken by wordwrap (such as a = b), then show it because you can't guess it's there visually.
e.g. (with the | indicating a new line caused by wordwrap:)
Some text |new line - needn't show the space before the | linebreak because the wordwrap makes it obvious it's there
Some text |new line - needs to show the two spaces before the | linebreak
a |=b - show the space before the | linebreak
Of course if it's a pain to code such fine detail, just showing end-of-screen-line spaces would suffice.
Many thanks for a great program!
david
View -> Show Symbol -> Show White Space and TAB . Deosn't this do the job?
CChris