This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
TextLayout creation is costly. The view hierarchy should attempt to minimize text layout creation as much as possible to improve performance.
*** Bug 196581 has been marked as a duplicate of this bug. ***
*** Bug 197136 has been marked as a duplicate of this bug. ***
*** Bug 200560 has been marked as a duplicate of this bug. ***
*** Bug 201570 has been marked as a duplicate of this bug. ***
In addition I will change priority of changes reported by EditorViewFactory into a Type that will be either: REGULAR - typical change that only affects font and highlighting of characters but not paragraph view boundaries. PARAGRAPH_CHANGE - change that affects paragraph view boundaries so it needs urgent rebuild of the affected area to determine new paragraph views boundaries. SETTINGS_CHANGE - for broad changes such as recreation of layers managed by HighlightingManager or some other settings-related changes. View hierarchy will rebuild its paragraph views from scratch and re-measures the fonts being used and resulting line height. This will allow more deferred views recomputation and better text layout reusal.
Fixed at last. With this patch long lines should display fine both in non-wrapped mode and line-wrapped mode. Typing speed in long lines depends on line-wrapping type - wrap after words is faster since not all characters get moved upon each typed character. Text layout are reused where possible and, for long lines, they are split roughly by 1K. Also there's a cache for text layout splits so it helps to speed up building of wrap lines considerably. TestRootView-based tests were reworked and several new tests were added. http://hg.netbeans.org/jet-main/rev/b6041b6ecd29
Additional fix: http://hg.netbeans.org/jet-main/rev/2537fea39bb1
One additional fix: http://hg.netbeans.org/jet-main/rev/c204196809bf
*** Bug 204988 has been marked as a duplicate of this bug. ***
*** Bug 207029 has been marked as a duplicate of this bug. ***
*** Bug 206016 has been marked as a duplicate of this bug. ***
*** Bug 207313 has been marked as a duplicate of this bug. ***
*** Bug 207258 has been marked as a duplicate of this bug. ***
*** Bug 208079 has been marked as a duplicate of this bug. ***
*** Bug 202255 has been marked as a duplicate of this bug. ***
*** Bug 204856 has been marked as a duplicate of this bug. ***