vmware-archive / scripted

The Scripted code editor
Eclipse Public License 1.0
1.56k stars 166 forks source link

Resizing editor with word wrapping cause line number misalignment #237

Closed scothis closed 11 years ago

scothis commented 11 years ago

Resizing an editor with word wrapping enabled causes the line numbers to fall out of alignment with the text. The text will adjust, but the line numbers are fixed. This is not an issue when resizing the browser window. Whatever orion function that is listening for browser resize events also need to be notified for editor resizes.

aclement commented 11 years ago

Fixed in dev, will be in master by end of day. The layout manager was calling an update function rather than a resize function. If you are using word wrapping a lot, we could make that configuration persist - you must be having to turn it on every time you switch editors.