Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 345192 - [client] [textmatestyler] Support showing whitespace characters in TextMateStyler
Summary: [client] [textmatestyler] Support showing whitespace characters in TextMateSt...
Status: RESOLVED WONTFIX
Alias: None
Product: Orion
Classification: ECD
Component: Editor (show other bugs)
Version: 0.2   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Mark Macdonald CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-09 15:51 EDT by Mark Macdonald CLA
Modified: 2015-05-05 16:01 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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