| Summary: | [10.13] Performance issues with StyledText | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Shawn Liu <shawn> |
| Component: | SWT | Assignee: | Platform-SWT-Inbox <platform-swt-inbox> |
| Status: | RESOLVED WORKSFORME | QA Contact: | |
| Severity: | major | ||
| Priority: | P3 | CC: | lshanmug, peter |
| Version: | 4.7.1a | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Mac OS X | ||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 527287, 534934 | ||
|
Description
Shawn Liu
By debug, I found problems may be where as follows: 1. FigureCanvas.redraw(x, y, width, height, all). Which cost too long when be called. (eg. spent nearly 350ms in my application when redraw(0, 0, 80, 50) rectangle region) 2. StyledText.modifyContent(): (1) content.replaceTextRange(event.start, replacedLength, event.text); (2) setSelection(event.start + event.text.length(), 0, true, false); spend too much time. May be as same as the first one. Please help. Can you please provide a sample application to reproduce/debug the problem? What version of Eclipse do you use? > Can you please provide a sample application to reproduce/debug the problem?
> What version of Eclipse do you use?
Ping!
Closing as there was no response. Please reopen if it happens with 4.8/4.9-I-builds. |