Kate can't show some newline characters using escape sequences

Kate and KWrite both don't show all \n characters. Problems appear to be next to where there are empty lines.

The problem isn't just in the highlighting itself. Wrong number of matches are found. Search and replace doesn't replace all \n characters.

Searching for \r doesn't find anything. If I place the cursor at the beginning of, say, line 7 and press delete and then enter, the search works.

Is it possible that other characters, besides \n and \r are used for newlines? The file was created as UTF-8 and only opened with Kate as UTF-8.

Kate can't show some newline characters using escape sequences

I understand that posting a picture of text is discouraged, but I can't show the highlighting without the screenshot.

This is of utmost importance to me, because I use Kate's search and replace feature to quickly format big documents, e.g. for StackExchange.

I run up-to-date Fedora 24 with KDE.


Category: search Time: 2016-07-31 Views: 2

Related post

iOS development

Android development

Python development

JAVA development

Development language

PHP development

Ruby development


Front-end development


development tools

Open Platform

Javascript development

.NET development

cloud computing


Copyright (C) avrocks.com, All Rights Reserved.

processed in 0.140 (s). 12 q(s)