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 78760 Details for
Bug 178117
better support for truncated text in org.eclipse.draw2d.text.TextFlow
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
final patch
Bugzilla178117.txt (text/plain), 1.07 KB, created by
Cherie Revells
on 2007-09-19 11:20:45 EDT
(
hide
)
Description:
final patch
Filename:
MIME Type:
Creator:
Cherie Revells
Created:
2007-09-19 11:20:45 EDT
Size:
1.07 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.draw2d >Index: src/org/eclipse/draw2d/text/TextFlow.java >=================================================================== >RCS file: /cvsroot/tools/org.eclipse.gef/plugins/org.eclipse.draw2d/src/org/eclipse/draw2d/text/TextFlow.java,v >retrieving revision 1.55 >diff -u -r1.55 TextFlow.java >--- src/org/eclipse/draw2d/text/TextFlow.java 14 Feb 2006 20:13:32 -0000 1.55 >+++ src/org/eclipse/draw2d/text/TextFlow.java 19 Sep 2007 15:09:23 -0000 >@@ -202,7 +202,7 @@ > * @return the bidi string for that fragment > * @since 3.1 > */ >-private String getBidiSubstring(TextFragmentBox box, int index) { >+protected String getBidiSubstring(TextFragmentBox box, int index) { > if (box.getBidiLevel() < 1) > return getText().substring(box.offset, box.offset + box.length); > >@@ -560,7 +560,7 @@ > } > } > >-private void paintText(Graphics g, String draw, int x, int y, int bidiLevel) { >+protected void paintText(Graphics g, String draw, int x, int y, int bidiLevel) { > if (bidiLevel == -1) { > g.drawString(draw, x, y); > } else {
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 178117
:
74560
|
74568
|
77662
| 78760