Is it possible to show CR/LF in editors?

BWendling

Member³
My PL/SQL Code often contains trailing spaces (which annoy me when doing code comparisons since lines are not regarded equal).

Is there already an option to display where the line really ends (as possible in most text editors) or is there a function to remove all trailing spaces?

Thank you.
 
You can use search/replace: search for " *$" (without quotes, i.e. space space star dollar), and check the "Regular expressions" box.

In v7 beta, if you use the new search tool it highlights matching expressions in yellow (same as Vim).
 
Hy,

it would be nice if i can see blanks an tabs, too.
(Like word do it)
Simple cause: some of our programmers use tabs instead of blank (which is our prefered thing).

With such an option i can easy find those "false" tabs...
 
In v7 beta using the new search tool, search for \t as a regular expression, and all occurrences will be highlighted in yellow.

I agree though, I would like an option to have tabs permanently displayed. I use tabs myself, but you have to be careful how you use them (e.g. never after a space, only tab up to the current block indent position, etc). It would be nice if the editor gave us some help here rather than just replacing every n spaces with an invisible tab character.

Also I constantly have to switch the "Use tabs" editor preference on and off (even if I didn't use tabs myself, when existing code uses them I don't want to mess it up: also they don't belong in SQL statements so I almost never want them in an SQL window, but I do want them in Test and Program windows). It would be nice to have a convenient way to this (the macro recorder can't seem to).
 
Back
Top