Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 90647 Details for
Bug 219838
Inconsistent truncation between drawers and tools on palette
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
SimpleTextLayout bug fix
GEF_SimpleTextLayoutBugFix_Feb25.txt (text/plain), 1.34 KB, created by
Cherie Revells
on 2008-02-25 10:52:57 EST
(
hide
)
Description:
SimpleTextLayout bug fix
Filename:
MIME Type:
Creator:
Cherie Revells
Created:
2008-02-25 10:52:57 EST
Size:
1.34 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.draw2d >Index: src/org/eclipse/draw2d/text/SimpleTextLayout.java >=================================================================== >RCS file: /cvsroot/tools/org.eclipse.gef/plugins/org.eclipse.draw2d/src/org/eclipse/draw2d/text/SimpleTextLayout.java,v >retrieving revision 1.11 >diff -u -r1.11 SimpleTextLayout.java >--- src/org/eclipse/draw2d/text/SimpleTextLayout.java 19 Sep 2007 18:08:47 -0000 1.11 >+++ src/org/eclipse/draw2d/text/SimpleTextLayout.java 25 Feb 2008 15:50:45 -0000 >@@ -1,5 +1,5 @@ > /******************************************************************************* >- * Copyright (c) 2000, 2007 IBM Corporation and others. >+ * Copyright (c) 2000, 2008 IBM Corporation and others. > * All rights reserved. This program and the accompanying materials > * are made available under the terms of the Eclipse Public License v1.0 > * which accompanies this distribution, and is available at >@@ -55,7 +55,7 @@ > fragment.length = result - offset; > fragment.offset = offset; > fragment.setWidth(-1); >- flowUtilities.setupFragment(fragment, font, text); >+ flowUtilities.setupFragment(fragment, font, text.substring(offset, result)); > getContext().addToCurrentLine(fragment); > getContext().endLine(); > offset = result + delimeterLength;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
ahunter.eclipse
:
iplog+
Actions:
View
|
Diff
Attachments on
bug 219838
:
90386
| 90647