![]() ![]() Using ,\r if the document is in the Windows mode. It seems that in Notepadd++ 7.7.1 there needs to be at least one empty line after the last line of text, otherwise the sorting function doesn’t do anything. ![]() It can be fixed with one of these 2 options: Changing the EOL of the document to Linux when I use, for the replacement. Open Notepad++, Press 'Crl+F', Click the 'Replace' tab, Enter ' ' (without the quotes) in the 'Find what' field, Enter 'rn' (without the quotes) in the 'Replace with' field, Click 'Replace All'. Select the content and then select Line Operations -> Sort Line Lex. As user 41686d6564 pointed out it's the problem with my previously line split where I use for Windows document the Linux EOL. That then shows up the non-breaking spaces, zero-width spaces etc. Using Line Operations -> Sort Lines Lexicographically not working. ![]() And what I have often found myself doing is putting a string into (say Excel) and adding formulae to show the Unicode code for each item. There are some other types of sorts as well, where it tries to convert the selected lines to numbers first before sorting. For example Notepad++ will translate it to a new phantom line, which is actually. There are two versions ascending and descending. Structured means that the text is written in some sort of syntax, eg. My real world interaction with hidden chars has often been when troubleshooting web pages, urls et al. How to sort lines in NotePad++ To get a dictionary sort (a-z), use the menu option Edit -> Line operations -> Sort lines lexicographically. Some thoughts on what would be best way of handling hidden characters - this derived from the usecases I was encountering when I first discovered zero width space and friends. Thanks for getting this back on the program, so to speak. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |