Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Orion (Archived) » "token_space" modifications to count number of spaces
"token_space" modifications to count number of spaces [message #870843] Wed, 09 May 2012 20:49
Joe Ertaba is currently offline Joe ErtabaFriend
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 20: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: Thu Apr 25 21:20:47 GMT 2024

Powered by FUDForum. Page generated in 0.02859 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top