![]()
The purpose is to make it easy to find where the odd characters are. Typically you'll want to undo any changes this tool makes and manually make the corrections. Any character that isn't a part of standard ASCII (32-126 TAB CR LF) is replaced with a # sign. Mark it and zap all characters to # and you'll immediately see what the compiler doesn't like. ![]() No compiler will accept following math but it's not immediately obvious where the problem is. Zapping all non Demo: Zap all non printable characters to # It easily zaps all characters in a non rectangular selection but I can't think of any reason why this would be useful. All it does is convert every character to a space, useful for erasing columns so that new text can be written in. This tool is usually used with a rectangular selection on text that is in columns. Doing this is neither reliable nor easy with search and replace. Undo that and Escape ' to \" to get the correct result. but that is still not correct because \n does not expand inside of 'PHP' strings. We can use the Swap Quotes to alter it to this: NOTEPAD HEX EDITOR COLUMNS CODEThis PHP code is incorrect since proper HTML tolerates ' but prefers ". The rules are not tied to the current language selected since some languages are embedded in others. ![]() The Quote Changers allow you to alter quotes in large blocks in ways that are neither easy nor reliable with normal or regex search and replace. You are often programming several languages at once and each may have different quote ("') rules. Demo: Quote Changers
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |