On 06/09/2016 12:19, Graeme Geldenhuys wrote:
When I have a long line
of code that causes horizontal scrolling and I press ENTER to start a
new line, the cursor moves to the correct indentation level, but the
editor view is still scrolled a few spaces off the screen
....
What I would like to see after pressing ENTER is that the editor scrolls
back to column 0
....
Is there a editor setting that alters the behaviour of (1) somewhere? I
had a look through the various editor settings, but can't see anything
obvious.
unfortunately not.
you could try to re-assign the enter key to an editor macro, and in the
macro perform the line-break, and then try and find a way to scroll to zero.
begin
ecLineBreak;
ecScrollLeft;
ecScrollLeft;
ecScrollLeft;
ecScrollLeft; // as many as you may need
end.
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus-ide.org/listinfo/lazarus