Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Tabs in TextFlows
Tabs in TextFlows [message #185887] Thu, 30 June 2005 16:11
Eclipse UserFriend
Originally posted by: freddie_nurke.hotmail.com

I'm trying to implement tabstops for my text editor. It looks like
Graphics#drawString completely ignores tab characters, so I presume I
have to break the TextFlow into fragments based on the tabs in the
string, then somehow position the fragments appropriately. This is
problematic as 'fragments' is package private, so I can't do anything
with it in my subclass.

I'm also not sure where or how I'd position the fragments. I'm looking
in ParagraphTextLayout, FlowUtilities, and TextFragmentBox, but I don't
understand how the text actually gets into the position it's in. Any
help would be appreciated.

Thanks,

Fred
Previous Topic:Key shortcut for menu/actions
Next Topic:Accessing the project from within a GEF editor
Goto Forum:
  


Current Time: Fri Apr 26 03:43:34 GMT 2024

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

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

Back to the top