Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 345192

Summary: [client] [textmatestyler] Support showing whitespace characters in TextMateStyler
Product: [ECD] Orion Reporter: Mark Macdonald <mamacdon>
Component: EditorAssignee: Mark Macdonald <mamacdon>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: Silenio_Quarti
Version: 0.2   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Mark Macdonald CLA 2011-05-09 15:51:13 EDT
Whitespace handling is done per-styler. The sample styler used for JS assigns token_tab and token_space classes to regions of text, then uses CSS to set the background for them.

TextMateStyler should support this. It should be done in a grammar-independent way so you don't have to build whitespace-detection into your grammar.

This might also be worth pulling up into an API for all stylers, so that we can support a user pref to always show whitespaces in any file type. (This is one of my current pet peeves -- every time I check out the editor code I need to hack styler.js and set whitespacesVisible = true).
Comment 1 Mark Macdonald CLA 2011-06-06 12:58:32 EDT
Deferring from 0.2
Comment 2 John Arthorne CLA 2015-05-05 15:47:42 EDT
Closing as part of a mass clean up of inactive bugs. Please reopen if this problem still occurs or is relevant to you. For more details see:


https://dev.eclipse.org/mhonarc/lists/orion-dev/msg03444.html
Comment 3 John Arthorne CLA 2015-05-05 16:01:10 EDT
Closing as part of a mass clean up of inactive bugs. Please reopen if this problem still occurs or is relevant to you. For more details see:


https://dev.eclipse.org/mhonarc/lists/orion-dev/msg03444.html