Change the scroll width of the Delphi IDE Editor window
I can find two separate setting in the Delphi (XE) IDE that affect the editor widt开发者_如何学JAVAh:
1) the right margin setting under [Editor Options][Display]
2) the right margin setting under [Formatter][Delphi][Line Breaks]
The 1st option only seems to affect the width of the visible right margin in the editor, the 2nd option affects the wrap width of the auto-formatter. Neither seems to affect the actual width of the editor w.r.t. the horizontal scroll bar at the bottom of the window. Scrolling to the far edge of the window gives a width of 4097 characters.
Is there any way to reduce the overall width of the editor window? Is there any way to auto-wrap as I type?
The "width" of the code editor and the scroll range for the horizontal scroll bar are based on the maximum visible columns which is 4096 characters. There is no setting in the options to override this value, nor is there a way to have the editor auto-wrap.
The visible right margin setting also controls how where code is wrapped when using class completion (shift-ctrl-c) or adding events.
精彩评论