Mr. E 6 Posted March 25 I have always been unable to find an answer to the following: The vertical line I point to in the image: Does it have a name? Can its horizontal position (width or column) be changed? Is it correct for what I think it is? When using Format Code (Ctrl-D), it makes all the code stay inside the limit of that column. Thanks in advance. Share this post Link to post
JonRobertson 72 Posted March 26 The editor right margin. It is configurable: Tools->Options->User Interface->Editor->Display, in "Margin in gutter" section, "Right margin" 1 Share this post Link to post
Mr. E 6 Posted March 26 (edited) Thank you @JonRobertson Using the words you provided, I managed to find the section to adjust/wrap the code to more than 80 columns when formatting with Ctrl-D Tools -> Options -> Formatter -> Delphi -> Line breaks -> Right margin. I changed it from 80 to 120 to test it and it does work. I also discovered that searching for the words "right margin" does not locate the "Formatter" section I was looking for. This other post ("Change the scroll width of the Delphi IDE Editor window"), complete what I needed to adjust the code formatting. Quote ..I can find two separate setting in the Delphi (XE) IDE that affect the editor width: 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. ... Edited March 26 by Mr. E Share this post Link to post
Stano 143 Posted March 26 Several of us have a set value of 120 points. It depends on the resolution of the monitor. At my 3440 x 1440 it's fine. Share this post Link to post