Changes Windows (CRLF) line separators to line feeds (LF).
()
| 1859 | |
| 1860 | /** Changes Windows (CRLF) line separators to line feeds (LF). */ |
| 1861 | public void fixLineEndings() { |
| 1862 | if (!IJ.isWindows()) |
| 1863 | return; |
| 1864 | String text = ta.getText(); |
| 1865 | text = text.replaceAll("\r\n", "\n"); |
| 1866 | ta.setText(text); |
| 1867 | } |
| 1868 | |
| 1869 | public void showLogWindow() { |
| 1870 | Frame log = WindowManager.getFrame("Log"); |
no test coverage detected