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

I am trying to modify the token_space CSS class to show the number of spaces to user. Here is the CSS code:

- 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:

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: Tue Jul 16 08:56:23 GMT 2024

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

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

Back to the top