Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Orion » "token_space" modifications to count number of spaces
"token_space" modifications to count number of spaces [message #870843] Wed, 09 May 2012 16:49
Joe Ertaba is currently offline Joe Ertaba
Messages: 17
Registered: April 2012
Junior Member
Hi,

I am trying to modify the token_space CSS class to show the number of spaces to user. Here is the CSS code:
pastebin.mozilla.org/1628637

- In this code the image has been changed to SVG image so the scaling doesn't affect the resolution.


The only problem I have is the way to calculate background-size. For a particular font, the aspect ration of width/height is known. Can I get this info from Orion?

Here is a sample result:
s16.postimage.org/47mgwxilf/test.png

As you can see if the "background-size" has been chosen properly, the outcome is great!

[Updated on: Wed, 09 May 2012 16:50]

Report message to a moderator

Previous Topic:Not having tooltip for bookmark annotations
Next Topic:Use find function to search a text string
Goto Forum:
  


Current Time: Fri Jul 25 18:18:09 EDT 2014

Powered by FUDForum. Page generated in 0.06565 seconds