feat: show non printable charactors
See original GitHub issue- If your text file encoding is UTF-8 with BOM, \ufeff is invisible, you don’t known can remove BOM whether or not.
- For indention, you use 4 whitespace instead TAB (\t), but you don’t known current indent delimitor is \t or 4 whitespace.
- For word wrap, if line number is disabled, you don’t known the next line is break word or break by \n.
Describe the solution you’d like
Add a preference to setting non printable chars (such as whitespace, \n, \t…) can show or not.
Describe alternatives you’ve considered
Codemiror (JavaScript edition) ACE editor (JavaScript edition) TextWarrior (Java edition)
private static final String GLYPH_NEWLINE = "\u21b5"; //↵
private static final String GLYPH_SPACE = "\u00b7"; //·
private static final String GLYPH_TAB = "\u00bb"; //»
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:11 (11 by maintainers)
Top Results From Across the Web
How to show non-printable characters in SWT a text widget
How is it possible to display non-printable characters in an SWT StyledText widget in a way it's done by Swing with an empty...
Read more >25.7 Show Non-Printing Characters with cat -v or od -c
Instead, try cat -v . It turns non-printable characters into a printable form. In fact, although most manual pages don't explain how, you...
Read more >View non-printable unicode characters - SoSci Survey
View non-printable unicode characters. Online tool to display non-printable characters that may be hidden in copy&pasted strings.
Read more >Grep - Looking for non printable or higher range ascii characters
We faced an issue when someone copied a string from somewhere in one of the metadata xml files that contained ascii characters 239...
Read more >Series Order - Michael Connelly
Follow the Harry Bosch series or The Lincoln Lawyer series or the Renée Ballard series or Other Main Characters. Click Here For A...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@liyujiang-gzu It works pretty well, but it’s just too laggy when working with large files (especially scrolling), the reason is amount of spans. Right now I have no idea how to optimize this, so I don’t think it would be a good idea to implement this in the next version Here’s the file for tests JavaScriptAPI.zip
P.S I forgot to change tab size on screenshots
Simple code :