Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » BidiUtil.isBidiPlatform() - Version display BiDi question
BidiUtil.isBidiPlatform() - Version display BiDi question [message #327848] Tue, 06 May 2008 00:25 Go to next message
Srimanth  is currently offline Srimanth Friend
Messages: 225
Registered: July 2009
Senior Member
Hello,
In PDE Label provider the version is adjusted for BiDi with something like
if (BidiUtil.isBidiPlatform())
return "\u200f(\u200e" + versionRange + ")";
else
return ("(" + versionRange + ')');

Since we dont have access to many OS configurations, Im curious as to
what results in the display if one always returned the following?
"\u200f(\u200e" + versionRange + ")"

Which configurations would have a problem with zero-width Unicode
characters?
Thanks.
Re: BidiUtil.isBidiPlatform() - Version display BiDi question [message #327956 is a reply to message #327848] Fri, 09 May 2008 13:39 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

It is common to make a call like:
org.eclipse.osgi.util.TextProcessor.process(String, String)

That is a text processor provided that can correctly mark certain
characters for when they need to be visible in normal and BIDI
situations (it places markers around ambiguous characters), like
displaying paths while in RTL mode.

PW

--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse. platform.doc.isv/guide/workbench.htm


Previous Topic:Creating subfolders
Next Topic:how to be notified of Select All action selection in Variables View
Goto Forum:
  


Current Time: Tue Jul 16 14:19:43 GMT 2024

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

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

Back to the top